IncrementalHash.CreateHash(HashAlgorithmName) Méthode
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.
Crée un IncrementalHash pour l’algorithme spécifié.
public:
static System::Security::Cryptography::IncrementalHash ^ CreateHash(System::Security::Cryptography::HashAlgorithmName hashAlgorithm);
public static System.Security.Cryptography.IncrementalHash CreateHash (System.Security.Cryptography.HashAlgorithmName hashAlgorithm);
static member CreateHash : System.Security.Cryptography.HashAlgorithmName -> System.Security.Cryptography.IncrementalHash
Public Shared Function CreateHash (hashAlgorithm As HashAlgorithmName) As IncrementalHash
Paramètres
- hashAlgorithm
- HashAlgorithmName
Nom de l’algorithme de hachage à exécuter.
Retours
Instance de IncrementalHash prête pour le calcul de l’algorithme de hachage spécifié par hashAlgorithm
.
Exceptions
hashAlgorithm
.Name est null
ou une chaîne vide.
hashAlgorithm
n’est pas un algorithme de hachage connu.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour