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 不是有效的哈希算法。