tumblr tracker

Restart

Library Reference ›› System ››
Parent Previous Next

System.Restart


Namespace: System


Initiates a restart of the system.


retval = System.Restart([ForceRestart])


Parameters:

- [ForceRestart]; optional, default is false; boolean value; if true terminates any programs that are preventing the restart


Returns:

True or False, depending on whether the restart was successfully initiated; doesn't guarantee the system was restarted; boolean value.


Example


System.Restart();