Security C#

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