Membership.HashAlgorithmType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
演算法的識別項,用於雜湊密碼。
public:
static property System::String ^ HashAlgorithmType { System::String ^ get(); };
public static string HashAlgorithmType { get; }
member this.HashAlgorithmType : string
Public Shared ReadOnly Property HashAlgorithmType As String
屬性值
演算法的識別項,用於雜湊密碼或空白,以使用預設雜湊演算法。
備註
屬性 HashAlgorithmType 會識別 類別所使用的 Membership 自訂雜湊演算法。 您可以使用成員資格專案的 屬性來設定 HashAlgorithmType 屬性 hashAlgorithmType
。
.NET Framework可讓您使用 <cryptographySettings>
專案組態區段來設定自訂密碼編譯類別。 屬性 HashAlgorithmType 必須符合 name
專案中 <cryptoNameMapping>
專案的 <nameEntry>
屬性。 如需詳細資訊,請參閱 將演算法名稱對應至密碼編譯類別。
HashAlgorithmType如果未設定 屬性,類別會 Membership 使用 元素的 屬性中 validation
設定的 <machineKey>
雜湊演算法。