APPX_PACKAGE_SETTINGS struttura (appxpackaging.h)

Rappresenta le impostazioni del pacchetto usate per creare un pacchetto.

Sintassi

typedef struct APPX_PACKAGE_SETTINGS {
  BOOL forceZip32;
  IUri *hashMethod;
} APPX_PACKAGE_SETTINGS;

Members

forceZip32

Tipo: BOOL

TRUE se il pacchetto viene creato come Zip32; FALSE se il pacchetto viene creato come Zip64. Il valore predefinito è Zip64.

hashMethod

Tipo: IUri*

URI dell'algoritmo hash da usare per la mappa a blocchi del pacchetto.

Commenti

Impostare forceZip32 su TRUE per mantenere la compatibilità con gli strumenti ZIP meno recenti.

I valori possibili per hashMethod sono:

  • http://www.w3.org/2001/04/xmlenc#sha256
  • http://www.w3.org/2001/04/xmldsig-more#sha384
  • http://www.w3.org/2001/04/xmlenc#sha512

Requisiti

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

Vedi anche

IAppxFactory::CreatePackageWriter