Is it possible to take a screen shot of windows desktop on Login Screen ?
I build a windows service in C# that captures the screen but when logged off a I got the exception with message "The handle is invalid."
I used this code
Bitmap bitmap = new Bitmap(SelectionRectangle.Width, SelectionRectangle.Height);
using (Graphics g = Graphics.FromImage(bitmap))
{
g.CopyFromScreen(SourcePoint, DestinationPoint, SelectionRectangle.Size);
}
Does using Windows API can solve the problem ?
I am trying to achieve something like Ultra VNC can do.