MembershipSection.HashAlgorithmType Egenskap

Definition

Hämtar eller anger vilken typ av kryptering som används för känslig medlemskapsinformation.

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

Egenskapsvärde

Den typ av kryptering som används för att kryptera information om känsligt medlemskap.

Attribut

Exempel

Följande kodexempel visar hur du använder egenskapen HashAlgorithmType . Det här kodexemplet är en del av ett större exempel för MembershipSection klassen.

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

Kommentarer

Vid körning binder medlemskapssystemet till lämplig hashalgoritmtyp och använder sedan den här typen när medlemskapsinformation krypteras. Om egenskapen HashAlgorithmType inte har angetts Validation är medlemskapssystemet som standard egenskapen i MachineKeySection klassen.

Gäller för