다음을 통해 공유


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

속성 값

String

중요한 멤버 자격 정보를 암호화하는 데 사용할 암호화 형식입니다.

특성

예제

다음 코드 예제를 사용 하는 방법에 설명 합니다 HashAlgorithmType 속성입니다. 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 MembershipSection 클래스입니다.

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

설명

런타임 시 멤버 자격 시스템을 적절 한 해시 알고리즘 형식에 바인딩합니다 및 멤버 자격 정보를 암호화 하는 경우 다음이 형식을 사용 합니다. 경우는 HashAlgorithmType 속성을 설정 하지 않으면 멤버 자격 시스템 기본값는 Validation 내에서 속성을 MachineKeySection 클래스.

적용 대상