开发者

Howto create a C# Application that blocks pc hibernation?

I want to make a program to wake me up, but if I leave it and go to sleep the pc ends up sleeping. How can I force it to never sleep if this application i开发者_如何学Gos running?

I'm on Windows 7 x64.


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

Try this article: http://msdn.microsoft.com/en-us/magazine/cc163386.aspx

Or even better, another similar StackOverflow question:

Prevent windows from going into sleep when my program is running?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜