views:

105

answers:

2

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

A: 

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.

David