.net - Howto create a C# Application that blocks pc hibernation? -


I want to create a program to wake up, but if I leave it and sleep I will end the PC

I'm on Windows 7 x64

The keyword you are looking for is "Power Management".

Try this article:

Or even better, another common stack overflow question:


Comments