Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capture screen of Windows store App

Is it possible to capture the contents of running Windows store app? I need to capture the entire screen or a user defined rectangular area.

  1. The application will provide share option
  2. When the application is running and share option is selected, I want to get the screen shot periodically say 4 times in a second
  3. This screen shot image will be posted to server, which will store the same
like image 500
srshawk Avatar asked Apr 08 '13 15:04

srshawk


People also ask

How do you screenshot a Windows app?

Press Ctrl + PrtScn keys. The entire screen changes to gray including the open menu. Select Mode, or in earlier versions of Windows, select the arrow next to the New button. Select the kind of snip you want, and then select the area of the screen capture that you want to capture.

How do I take a screenshot of an application?

Alt + Print Screen To take a quick screenshot of the active window, use the keyboard shortcut Alt + PrtScn. This will snap your currently active window and copy the screenshot to the clipboard. You'll need to open the shot in an image editor to save it.


2 Answers

It's now possible in Windows 8.1 to capture the screen of a Store App. You need to use the RenderTargetBitmap class.

You can find an example here: http://mariusbancila.ro/blog/2013/11/05/render-the-screen-of-a-windows-store-app-to-a-bitmap-in-windows-8-1/

Hope it helps.

like image 141
Reinaldo Avatar answered Oct 06 '22 23:10

Reinaldo


You can't capture screen programatically. See the below threads from MSDN.

Programmatically take snap shot Windows RT.

How to capture screen in Metro app?

like image 34
Farhan Ghumra Avatar answered Oct 06 '22 23:10

Farhan Ghumra