SecurityManager.SavePolicy() : SecurityManager « System.Security « C# / C Sharp by API






SecurityManager.SavePolicy()

  

using System.Security;

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

        SecurityManager.SavePolicy();
    }
}

   
    
  








Related examples in the same category

1.SecurityManager.CheckExecutionRights
2.SecurityManager.PolicyHierarchy()