[ Team LiB ] Previous Section Next Section

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

    [ Team LiB ] Previous Section Next Section