Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# run as administrator

Create an "Application Manifest File" and change the following line from:
 <requestedExecutionLevel level="asInvoker" uiAccess="false" />

to:
 <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
 
PREVIOUS NEXT
Tagged: #run #administrator
ADD COMMENT
Topic
Name
4+5 =