Put your computer into Standby or Hibernate
[DllImport("Powrprof.dll", SetLastError = true)]
static extern bool SetSuspendState(bool hibernate, bool forceCritical, bool disableWakeEvent);static void Main(string[] args)
{
bool bRc = SetSuspendState(false, true, false);
}
No comments yet.
