Membership.HashAlgorithmType 属性   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
用于哈希密码的算法的标识符。
public:
 static property System::String ^ HashAlgorithmType { System::String ^ get(); };public static string HashAlgorithmType { get; }static member HashAlgorithmType : stringPublic Shared ReadOnly Property HashAlgorithmType As String属性值
用于哈希密码的算法的标识符,或为空以使用默认哈希算法。
注解
属性 HashAlgorithmType 标识 类使用的 Membership 自定义哈希算法。 使用hashAlgorithmType成员资格元素的 属性设置 HashAlgorithmType 属性。
.NET Framework 使你能够使用 <cryptographySettings> 元素配置部分配置自定义加密类。 属性HashAlgorithmType必须与 元素中 <cryptoNameMapping> 元素的 <nameEntry> 属性匹配name。 有关详细信息,请参阅 将算法名称映射到加密类。
              HashAlgorithmType如果未设置 属性,类Membership将使用 元素的 属性中validation设置的<machineKey>哈希算法。