开发者

How can to set Power setting turn off: never , by c# [duplicate]

This question already has an answer here: 开发者_StackOverflow社区 Disabling Screen Saver and Power Options in C# (1 answer) Closed 7 years ago.

How can to set Power setting turn off: never , by c#? manualy: Control Panel-> Power Options -> Edit Plan Setting -> trun off the display = never Put the computer to sleep = never

anther Question: to set: Don't require a password manualy: Control Panel-> Power Options -> System Setting * Don't require a password


Power Management in Windows Forms

cPower - Windows Power and Battery, Information / Functions Stub


Also check out http://msdn.microsoft.com/en-us/library/ms724947(VS.85).aspx, it's win32 API but allows you to set some of the power/screen saver settings.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜