C# open app as admin code example Example: c# request run as administrator <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />