This code demonstrates how to get a screen shot of the entire desktop, or a particular window, using .NET (and a few API functions). Using the class is simple – there are four methods * public Image CaptureScreen() Creates an Image object containing a screen shot of the entire desktop * public Image CaptureWindow(IntPtr handle)