HashAlgorithmProvider.OpenAlgorithm(String) 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 objet HashAlgorithmProvider et ouvre l’algorithme spécifié à utiliser.
public:
static HashAlgorithmProvider ^ OpenAlgorithm(Platform::String ^ algorithm);
static HashAlgorithmProvider OpenAlgorithm(winrt::hstring const& algorithm);
public static HashAlgorithmProvider OpenAlgorithm(string algorithm);
function openAlgorithm(algorithm)
Public Shared Function OpenAlgorithm (algorithm As String) As HashAlgorithmProvider
Paramètres
- algorithm
-
String
Platform::String
winrt::hstring
Nom de l’algorithme.
Retours
Représente un fournisseur qui implémente des algorithmes de hachage.
Remarques
Les noms d’algorithmes de hachage suivants sont pris en charge :
- HashAlgorithmNames.Md5
- HashAlgorithmNames.Sha1
- HashAlgorithmNames.Sha256
- HashAlgorithmNames.Sha384
- HashAlgorithmNames.Sha512
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