Taal

MembershipSection.HashAlgorithmType Eigenschap

Definitie

Hiermee wordt het type versleuteling opgehaald of ingesteld dat wordt gebruikt voor gevoelige lidmaatschapsgegevens.

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

Waarde van eigenschap

Het type versleuteling dat wordt gebruikt om gevoelige lidmaatschapsgegevens te versleutelen.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u de HashAlgorithmType eigenschap gebruikt. Dit codevoorbeeld maakt deel uit van een groter voorbeeld voor de MembershipSection klasse.

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

Opmerkingen

Tijdens runtime wordt het lidmaatschapssysteem gebonden aan het juiste hash-algoritmetype en wordt dit type vervolgens gebruikt bij het versleutelen van lidmaatschapsgegevens. Als de HashAlgorithmType eigenschap niet is ingesteld, wordt het lidmaatschapssysteem standaard ingesteld op de Validation eigenschap binnen de MachineKeySection klasse.

Van toepassing op