MembershipSection.HashAlgorithmType Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit le type de chiffrement utilisé pour les informations d’appartenance sensibles.
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
Valeur de propriété
Type de chiffrement utilisé pour chiffrer les informations d’appartenance sensibles.
- Attributs
Exemples
L’exemple de code suivant montre comment utiliser la HashAlgorithmType propriété. Cet exemple de code fait partie d’un exemple plus grand fourni pour la MembershipSection classe.
// Display HashAlgorithmType value.
Console.WriteLine("HashAlgorithmType: {0}",
configSection.HashAlgorithmType);
' Display HashAlgorithmType value.
Console.WriteLine("HashAlgorithmType: {0}", _
configSection.HashAlgorithmType)
Remarques
Au moment de l’exécution, le système d’appartenance est lié au type d’algorithme de hachage approprié, puis utilise ce type lors du chiffrement des informations d’appartenance. Si la HashAlgorithmType propriété n’est pas définie, le système d’appartenance est défini par défaut sur la Validation propriété dans la MachineKeySection classe.