new PrincipalPermission(null, @"MACHINE\Managers") : PrincipalPermission : Security C# Source Code


Custom Search

C# Source Code » Security » PrincipalPermission »

 

new PrincipalPermission(null, @"MACHINE\Managers")








    
 
using System;
using System.Security.Permissions;

class MainClass {

    public static void Method1() {
        PrincipalPermission perm = new PrincipalPermission(@"MACHINE\Tester", null);
        perm.Demand();
    }


}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Security
» PrincipalPermission