public void PermitOnly() { CodeAccessSecurityEngine icase = SecurityManager.GetCodeAccessSecurityEngine(); if (icase != null) { StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller; icase.PermitOnly(this, ref stackMark); } }
public void PermitOnly() { StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller; CodeAccessSecurityEngine.PermitOnly(this, ref stackMark); }