示例#1
0
 public static void Sleep()
 {
     WinAPI.SetSuspendState(false, true, true);
 }
示例#2
0
 public static void Hibernate()
 {
     WinAPI.SetSuspendState(true, true, true);
 }