Пример #1
0
 public static void Sleep()
 {
     WinAPI.SetSuspendState(false, true, true);
 }
Пример #2
0
 public static void Hibernate()
 {
     WinAPI.SetSuspendState(true, true, true);
 }