[Serializable] |
ctor #1 | Initializes a new instance of the StrongNameMembershipCondition class with the strong name public key blob, name, and version number that determine membership. |
Name | Read-write Gets or sets the simple name of the StrongName for which the membership condition tests. |
PublicKey | Read-write Gets or sets the StrongNamePublicKeyBlob of the StrongName for which the membership condition tests. |
Version | Read-write Gets or sets the Version of the StrongName for which the membership condition tests. |
Check | Determines whether the specified evidence satisfies the membership condition. |
Copy | Creates an equivalent copy of the current StrongNameMembershipCondition. |
Equals | Overridden: Determines whether the StrongName from the specified object is equivalent to the StrongName contained in the current StrongNameMembershipCondition. |
FromXml | Overloaded:FromXml(SecurityElement e) Reconstructs a security object with a specified state from an XML encoding. |
FromXml | Overloaded:FromXml(SecurityElement e, PolicyLevel level) Reconstructs a security object with a specified state from an XML encoding. |
GetHashCode | Overridden: Returns the hash code for the current StrongNameMembershipCondition. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString | Overridden: Creates and returns a string representation of the current StrongNameMembershipCondition. |
ToXml | Overloaded:ToXml() Creates an XML encoding of the security object and its current state. |
ToXml | Overloaded:ToXml(PolicyLevel level) Creates an XML encoding of the security object and its current state with the specified PolicyLevel. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public StrongNameMembershipCondition( |
blob
name
version
Exception Type | Condition |
---|---|
ArgumentNullException | The blob parameter is null. |
public string Name {get; set;}
|
public StrongNamePublicKeyBlob PublicKey {get; set;}
|
Exception Type | Condition |
---|---|
ArgumentNullException | An attempt is made to set the StrongNameMembershipCondition.PublicKey to null. |
Blobs differ from certificates in that the blob only has information about the public key; the certificate also includes information that associates a name of the holder with the key, as well as information to verify the certificate.
public Version Version {get; set;}
|
evidence
The membership condition is satisfied if the specified evidence contains a StrongName with the same StrongName (public key, name, and version) as specified by the StrongNameMembershipCondition.
public IMembershipCondition Copy(); |
o
~StrongNameMembershipCondition(); |
public void FromXml( |
e
public void FromXml( |
e
level
Exception Type | Condition |
---|---|
ArgumentNullException | The e parameter is null. |
ArgumentException | The e parameter is not a valid membership condition element. |
public override int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public override string ToString(); |
public SecurityElement ToXml(); |
public SecurityElement ToXml( |
level