CheckExecutionRights, SavePolicy

image_pdfimage_print
   
 

using System.Security;

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

        SecurityManager.SavePolicy();
    }
}

    


This entry was posted in Security. Bookmark the permalink.