var processStartInfo =
new
ProcessStartInfo(
@"C:\Windows\Notepad.exe"
);
processStartInfo.Verb =
"runas"
;
try
{
Process.Start(processStartInfo);
}
catch
(Win32Exception ex)
{
MessageBox.Show(ex.ToString(),
"Run As"
,
MessageBoxButtons.OK, MessageBoxIcon.Error);
}