StrongNameIdentityPermissionAttribute

StrongNameIdentityPermissionAttributeserializable

System.Security.Permissions (mscorlib.dll)sealed class
public sealed class StrongNameIdentityPermissionAttribute : CodeAccessSecurityAttribute { // Public Constructors    public StrongNameIdentityPermissionAttribute(SecurityAction action); // Public Instance Properties    public string Name{set; get; }    public string PublicKey{set; get; }    public string Version{set; get; } // Public Instance Methods    public override IPermission CreatePermission(  ); // overrides SecurityAttribute }

This attribute class provides declarative syntax support for the StrongNameIdentityPermission class. The Name, PublicKey, and Version attributes all take System.String objects containing the information that defines the strong name; the StrongNameIdentityPermissionAttribute converts these string values to the appropriate types.

Hierarchy

System.Object System.Attribute SecurityAttribute CodeAccessSecurityAttribute StrongNameIdentityPermissionAttribute

Valid On

Assembly, Class, Struct, Constructor, Method



Programming. NET Security
Programming .Net Security
ISBN: 0596004427
EAN: 2147483647
Year: 2005
Pages: 346

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net