SecurityManager.CheckExecutionRights
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