Exemple #1
0
 /// <summary>
 /// Returns true if this application successfully registered for restart.
 /// </summary>
 public static bool Register()
 {
     return(Restart.Register(null, RestartModifiers.None));
 }
Exemple #2
0
 /// <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));
 }
Exemple #3
0
 /// <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));
 }