Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to run a function as administrator in c#

[PrincipalPermission(SecurityAction.Demand, Role = @"BUILTINAdministrators")]
public void MyMethod()
{
  
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #function #administrator
ADD COMMENT
Topic
Name
7+1 =