System.Security.Policy.HashMembershipCondition
public sealed class HashMembershipCondition : IDeserializationCallback, ISerializable, ISecurityEncodable, ISecurityPolicyEncodable, IMembershipCondition
Determines whether an assembly belongs to a code group by testing its hash value. This class cannot be inherited.
namespace System.Security.Policy
{
public sealed class HashMembershipCondition : IDeserializationCallback, ISerializable, ISecurityEncodable, ISecurityPolicyEncodable, IMembershipCondition
{
public HashAlgorithm HashAlgorithm { get; set; }
public byte[] HashValue { get; set; }
public HashMembershipCondition(HashAlgorithm hashAlg, byte[] value);
public bool Check(Evidence evidence);
public IMembershipCondition Copy();
public void FromXml(SecurityElement e);
public void FromXml(SecurityElement e, PolicyLevel level);
public SecurityElement ToXml();
public SecurityElement ToXml(PolicyLevel level);
}
}