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 됩니다.

적용 대상