Share via


Metodo IAppxBlockMapReader::GetHashMethod (appxpackaging.h)

Recupera l'URI per l'algoritmo hash utilizzato per creare hash di blocco nella mappa a blocchi.

Sintassi

HRESULT GetHashMethod(
  [out, retval] IUri **hashMethod
);

Parametri

[out, retval] hashMethod

Tipo: IUri**

Algoritmo hash usato in questa mappa a blocchi.

Valore restituito

Tipo: HRESULT

Se questo metodo ha esito positivo, restituisce S_OK. In caso contrario, restituisce un codice di errore HRESULT .

Commenti

Il valore hashMethod corrisponde all'attributo HashMethod dell'elemento radice BlockMap .

GetHashMethod restituisce gli URI supportati per DigestMethods.

Requisiti

Requisito Valore
Client minimo supportato Windows 8 [solo app desktop]
Server minimo supportato Windows Server 2012 [solo app desktop]
Piattaforma di destinazione Windows
Intestazione appxpackaging.h

Vedi anche

IAppxBlockMapReader