/// <summary> /// Returns true if this application successfully registered for restart. /// </summary> public static bool Register() { return(Restart.Register(null, RestartModifiers.None)); }
/// <summary> /// Returns true if this application successfully registered for restart. /// </summary> /// <param name="arguments">Command-line arguments for the application when it is restarted.</param> public static bool Register(string arguments) { return(Restart.Register(arguments, RestartModifiers.None)); }
/// <summary> /// Returns true if this application successfully registered for restart. /// </summary> /// <param name="arguments">Command-line arguments for the application when it is restarted.</param> public static Boolean Register(String arguments) { return(Restart.Register(arguments, RestartModifiers.None)); }