Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# require administrator permissions

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: #require #administrator #permissions
ADD COMMENT
Topic
Name
3+9 =