How can to set Power setting turn off: never , by c# [duplicate]
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.
精彩评论