void Reboot() { System.Threading.Thread.Sleep(RebootWaitTimeInSeconds * 1000); CarverLab.Utility.Win32Wrapper wrapper = new Win32Wrapper(); wrapper.ShutdownWindowsEx(true,true); }
void Reboot() { Thread.Sleep(RebootWaitTimeInSeconds*1000); Win32Wrapper wrapper = new Win32Wrapper(); wrapper.ShutdownWindowsEx(true, true); }