MembershipSection.HashAlgorithmType Propriedade

Definição

Obtém ou define o tipo de encriptação utilizado para informações sensíveis de membros.

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 Propriedade

O tipo de encriptação usado para encriptar informações sensíveis de membros.

Atributos

Exemplos

O exemplo de código seguinte demonstra como usar a HashAlgorithmType propriedade. Este exemplo de código faz parte de um exemplo maior fornecido para a MembershipSection classe.

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

Observações

Em tempo de execução, o sistema de membros liga-se ao tipo de algoritmo de hash apropriado e depois utiliza este tipo ao encriptar a informação de pertencimento. Se a HashAlgorithmType propriedade não estiver definida, o sistema de membros passa por defeito à Validation propriedade dentro da MachineKeySection classe.

Aplica-se a