

GraphicsCaptureSession is used to start and stop the capture operation. The GraphicsCaptureItem class represents the window or display being captured. The Windows.GraphicsCapture APIs do the work of actually grabbing the pixels from the screen.The screen capture process uses three primary UWP features: While it may seem like there is a lot of code required to implement this scenario, the high-level structure of a screen recorder app is fairly simple. This article provides a walkthrough of an example app that records the contents of a window to a video file.

For a simple end-to-end sample app that utilizes the concepts and techniques shown in this article, see SimpleRecorder. For information on screen capturing still images, see Screen capture. This article describes how to encode frames captured from the screen with the APIs to a video file.
