How to perform Screen Capture programmatically
Friday, January 18, 2008
I have found this example in this thread:
Below, in given example, WinAPI was used for pressing PrintScreen Button only. Then image obtained from clipboard by "Clipboard.GetImage" method.
Thanks for TobyD for this simple example. Most easiest way I haven't seen before.
I just have add small delay between print screen and get image method, otherwise previous content of the clipboard was obtained: