June 2003
Intermediate to advanced
714 pages
22h 8m
English
StrongNameIdentityPermissionAttribute
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.
System.Object
→
System.Attribute
→
SecurityAttribute
→
CodeAccessSecurityAttribute
→
StrongNameIdentityPermissionAttribute
Assembly, Class, Struct, Constructor, Method