Archives for: "February 2012"
How to put your PC in sleep or hibernate via C#
I thought that is impossible to put your PC in sleep or hibernate via C#. I found that is incorrect! Moreover, that is very simple too, just one line of command. Putting the PC in sleep mode CodeApplication.SetSuspendState(PowerState.Suspend, false,… more »