Export (0) Print
Expand All

HashMembershipCondition Members

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

The HashMembershipCondition type exposes the following members.

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

  NameDescription
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 Determines whether the HashValue and the HashAlgorithm from the specified object are equivalent to the HashValue and HashAlgorithm contained in the current HashMembershipCondition. (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 Gets the hash code for the current membership condition. (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 membership condition. (Overrides Object.ToString().)
Public method ToXml Overloaded. Creates an XML encoding of the security object and its current state.
Top

  NameDescription
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.
Top

  NameDescription
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. Populates a SerializationInfo with the data needed to serialize the target object.
Explicit interface implemetation Private method IDeserializationCallback.OnDeserialization Infrastructure. Runs when the entire object graph has been deserialized.
Top

Community Additions

ADD
Show:
© 2014 Microsoft