Esempio n. 1
0
 /// <summary>
 ///     Disattaches the current running exe to startup
 /// </summary>
 /// <param name="alias"></param>
 /// <returns></returns>
 public static bool Disattach(string alias = null)
 {
     return(StartupManager.DisattachNative(Paths.ExecutingExe));
 }
Esempio n. 2
0
 /// <summary>
 ///     Attached the current running exe to startup
 /// </summary>
 /// <param name="alias"></param>
 /// <returns></returns>
 public static StartupManager.StartupAttachResult Attach(string alias = null)
 {
     return(StartupManager.AttachBestNative(new FileCall(Paths.ExecutingExe), alias));
 }