This documentation is archived and is not being maintained.

HashMembershipCondition Members

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

The following tables list the members exposed by the HashMembershipCondition type.

  Name Description
Public method HashMembershipCondition Initializes a new instance of the HashMembershipCondition class with the hash algorithm and hash value that determine membership.

  Name Description
Public property HashAlgorithm Gets or sets the hash algorithm to use for the membership condition.
Public property HashValue Gets or sets the hash value for which the membership condition tests.

  Name Description
Public method Check Determines whether the specified evidence satisfies the membership condition.
Public method Copy Creates an equivalent copy of the membership condition.
Public method Equals Overloaded. Overridden.  
Public method FromXml Overloaded. Reconstructs a security object with a specified state from an XML encoding.
Public method GetHashCode Overridden. Gets the hash code for the current membership condition.
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString Overridden. Creates and returns a string representation of the membership condition.
Public method ToXml Overloaded. Creates an XML encoding of the security object and its current state.

  Name Description
Explicit interface implementation Method System.Runtime.Serialization.IDeserializationCallback.OnDeserialization Runs when the entire object graph has been deserialized.
Explicit interface implementation Method System.Runtime.Serialization.ISerializable.GetObjectData Populates a SerializationInfo with the data needed to serialize the target object.