SecurityAction.InheritanceDemand : SecurityAction « System.Security.Permissions « C# / C Sharp by API






SecurityAction.InheritanceDemand

 


using System.Security.Permissions;

[PublisherIdentityPermission(SecurityAction.InheritanceDemand, CertFile = "YourCertFile.cer")]
public class MainClass
{
    [PermissionSet(SecurityAction.InheritanceDemand, Name="FullTrust")]
    public void SomeProtectedMethod () 
    {
    }
}

   
  








Related examples in the same category

1.SecurityAction.Demand
2.SecurityAction.RequestMinimum
3.SecurityAction.RequestOptional
4.SecurityAction.RequestRefuse