Share via


MembershipSection.HashAlgorithmType Propiedad

Definición

Obtiene o establece el tipo de cifrado que se utiliza para la información de pertenencia confidencial.

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

Valor de propiedad

String

Tipo de cifrado que se utiliza para cifrar la información de pertenencia confidencial.

Atributos

Ejemplos

En el ejemplo de código siguiente se muestra cómo usar la HashAlgorithmType propiedad . Este ejemplo de código forma parte de un ejemplo más grande proporcionado para la MembershipSection clase .

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

Comentarios

En tiempo de ejecución, el sistema de pertenencia se enlaza al tipo de algoritmo hash adecuado y, a continuación, usa este tipo al cifrar la información de pertenencia. Si no se establece la HashAlgorithmType propiedad , el sistema de pertenencia tiene como valor predeterminado la Validation propiedad dentro de la MachineKeySection clase .

Se aplica a