diff --git a/SystemExtensions/Security/ProcessInformation.cs b/SystemExtensions/Security/ProcessInformation.cs index 081e973..e1e2bf7 100644 --- a/SystemExtensions/Security/ProcessInformation.cs +++ b/SystemExtensions/Security/ProcessInformation.cs @@ -391,7 +391,7 @@ namespace SystemExtensions.Security ProcessStartInfo proc = new ProcessStartInfo(); proc.UseShellExecute = true; proc.WorkingDirectory = Environment.CurrentDirectory; - proc.FileName = GetApplicationPath() + Assembly.GetCallingAssembly().GetName().FullName; + proc.FileName = Process.GetCurrentProcess().StartInfo.FileName; proc.Verb = "runas";