Share via


Membership.HashAlgorithmType プロパティ

定義

パスワードをハッシュするために使用するアルゴリズムの識別子。

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

プロパティ値

String

パスワードをハッシュするために使用するアルゴリズムの識別子。既定のハッシュ アルゴリズムを使用する場合は空白。

注釈

このプロパティは HashAlgorithmType 、クラスで使用されるカスタム ハッシュ アルゴリズムを Membership 識別します。 プロパティは、HashAlgorithmTypeメンバーシップ要素の属性をhashAlgorithmType使用して設定します。

.NET Frameworkでは、要素構成セクションを使用してカスタム暗号化クラスを<cryptographySettings>構成できます。 プロパティは HashAlgorithmType 、要素内の name 要素の <nameEntry> 属性と一致する <cryptoNameMapping> 必要があります。 詳細については、「 アルゴリズム名を暗号化クラスにマッピングする」を参照してください。

プロパティがHashAlgorithmType設定されていない場合、Membershipクラスは要素の属性で設定されたハッシュ アルゴリズムをvalidation``<machineKey>使用します。

適用対象

こちらもご覧ください