Specify the certification file : Permissions : Security C# Examples


C# Examples » Security » Permissions »

 

Specify the certification file









    
using  System.Security.Permissions;

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




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Security
» Permissions