Answers for "how to make run as administrator on certain actions in c#"

C#
2

how to run a function as administrator in c#

[PrincipalPermission(SecurityAction.Demand, Role = @"BUILTINAdministrators")]
public void MyMethod()
{
  
}
Posted by: Guest on November-26-2020

Code answers related to "how to make run as administrator on certain actions in c#"

C# Answers by Framework

Browse Popular Code Answers by Language