MembershipSection.HashAlgorithmType プロパティ

定義

機密性の高いメンバーシップ情報に使用される暗号化の種類を取得または設定します。

public:
 property System::String ^ HashAlgorithmType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("hashAlgorithmType", DefaultValue="")]
public string HashAlgorithmType { get; set; }
[<System.Configuration.ConfigurationProperty("hashAlgorithmType", DefaultValue="")>]
member this.HashAlgorithmType : string with get, set
Public Property HashAlgorithmType As String

プロパティ値

機密性の高いメンバーシップ情報の暗号化に使用される暗号化の種類。

属性

次のコード例は、 HashAlgorithmType プロパティの使用方法を示しています。 このコード例は、 MembershipSection クラスに提供されるより大きな例の一部です。

// Display HashAlgorithmType value.
Console.WriteLine("HashAlgorithmType: {0}", 
  configSection.HashAlgorithmType);
' Display HashAlgorithmType value.
Console.WriteLine("HashAlgorithmType: {0}", _
 configSection.HashAlgorithmType)

注釈

実行時に、メンバーシップ システムは適切なハッシュ アルゴリズムの種類にバインドし、メンバーシップ情報を暗号化するときにこの型を使用します。 HashAlgorithmType プロパティが設定されていない場合、メンバーシップ システムは既定で Validation クラス内の MachineKeySection プロパティに設定されます。

適用対象