HashMembershipCondition(HashAlgorithm, Byte[]) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化一個新的類別實例 HashMembershipCondition ,使用決定成員資格的雜湊演算法與雜湊值。
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())
參數
- hashAlg
- HashAlgorithm
用來計算組裝雜湊值的雜湊演算法。
- value
- Byte[]
就是要測試的雜湊值。
例外狀況
這個 hashAlg 參數並不是有效的雜湊演算法。