CheckExecutionRights, SavePolicy : SecurityManager : Security C# Source Code


Custom Search

C# Source Code » Security » SecurityManager »

 

CheckExecutionRights, SavePolicy








    
 

using System.Security;

class MainClass {
    public static void Main() {
        SecurityManager.CheckExecutionRights = true;
        SecurityManager.SavePolicy();
        SecurityManager.CheckExecutionRights = false;

        SecurityManager.SavePolicy();
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Security
» SecurityManager