Example #1
0
 public Task RebootMachine()
 {
     return(Task.Run(() => ShutdownHelper.SystemReboot()));
 }
Example #2
0
 public Task ShutdownMachine()
 {
     return(Task.Run(() => ShutdownHelper.SystemShutdown()));
 }