Windows application (Smart Device Project). How to capture Screen?

66 Views Asked by At

I just want to capture the screen in .Net Framework 2.0 with Smart Device application.

Not working:

Graphics g = Graphics.FromImage(screen);
g.CopyFromScreen(SystemInformation.VirtualScreen.X, 
                 SystemInformation.VirtualScreen.Y,0, 0, screen.Size);

and

this.DrawToBitmap(bmp, new Rectangle(0, 0, bmp.Width, bmp.Height));

the above functions are not working.

0

There are 0 best solutions below