public static void ShutDownSystem() { WinApi.ExitWindowsEx(WinApi.ExitWindowsAction.Shutdown, 0); }
public static void RestartSystem() { WinApi.ExitWindowsEx(WinApi.ExitWindowsAction.Reboot, 0); }
public static void SignOut() { WinApi.ExitWindowsEx(WinApi.ExitWindowsAction.Force, 0); }