संपादित करें

इसके माध्यम से साझा किया गया


HashMembershipCondition(HashAlgorithm, Byte[]) Constructor

Definition

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

public:
 HashMembershipCondition(System::Security::Cryptography::HashAlgorithm ^ hashAlg, cli::array <System::Byte> ^ value);
public HashMembershipCondition (System.Security.Cryptography.HashAlgorithm hashAlg, byte[] value);
new System.Security.Policy.HashMembershipCondition : System.Security.Cryptography.HashAlgorithm * byte[] -> System.Security.Policy.HashMembershipCondition
Public Sub New (hashAlg As HashAlgorithm, value As Byte())

Parameters

hashAlg
HashAlgorithm

The hash algorithm to use to compute the hash value for the assembly.

value
Byte[]

The hash value for which to test.

Exceptions

The hashAlg parameter is null.

-or-

The value parameter is null.

The hashAlg parameter is not a valid hash algorithm.

Applies to