コード例 #1
0
ファイル: Computer.cs プロジェクト: manigandham/Playnite
 public static void Restart()
 {
     ProcessStarter.StartProcess("shutdown.exe", "-r -t 0");
 }
コード例 #2
0
 public static void Shutdown()
 {
     ProcessStarter.StartProcess("shutdown.exe", "-s -t 0");
 }