c# request run as administrator

C#
 <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
Source

Also in C#: