This documentation is archived and is not being maintained.

StrongNameMembershipCondition Members

Determines whether an assembly belongs to a code group by testing its strong name. This class cannot be inherited.

The StrongNameMembershipCondition type exposes the following members.

Public method StrongNameMembershipCondition Initializes a new instance of the StrongNameMembershipCondition class with the strong name public key blob, name, and version number that determine membership.

Public method Check Determines whether the specified evidence satisfies the membership condition.
Public method Copy Creates an equivalent copy of the current StrongNameMembershipCondition.
Public method Equals Determines whether the StrongName from the specified object is equivalent to the StrongName contained in the current StrongNameMembershipCondition. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method FromXml Overloaded. Reconstructs a security object with a specified state from an XML encoding.
Public method GetHashCode Returns the hash code for the current StrongNameMembershipCondition. (Overrides Object.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Creates and returns a string representation of the current StrongNameMembershipCondition. (Overrides Object.ToString().)
Public method ToXml Overloaded. Creates an XML encoding of the security object and its current state.

Public property Name Gets or sets the simple name of the StrongName for which the membership condition tests.
Public property PublicKey Gets or sets the StrongNamePublicKeyBlob of the StrongName for which the membership condition tests.
Public property Version Gets or sets the Version of the StrongName for which the membership condition tests.