IAppxBlockMapReader ::GetHashMethod, méthode (appxpackaging.h)
Récupère l’URI de l’algorithme de hachage utilisé pour créer des hachages de blocs dans la carte de blocs.
Syntaxe
HRESULT GetHashMethod(
[out, retval] IUri **hashMethod
);
Paramètres
[out, retval] hashMethod
Type : IUri**
Algorithme de hachage utilisé dans cette carte de blocs.
Valeur retournée
Type : HRESULT
Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.
Remarques
La valeur hashMethod correspond à l’attribut HashMethod de l’élément racine BlockMap .
GetHashMethod retourne les URI pris en charge pour DigestMethods.
Configuration requise
Condition requise | Valeur |
---|---|
Client minimal pris en charge | Windows 8 [applications de bureau uniquement] |
Serveur minimal pris en charge | Windows Server 2012 [applications de bureau uniquement] |
Plateforme cible | Windows |
En-tête | appxpackaging.h |