Edit

Share via


IAppxPackageReader interface (appxpackaging.h)

Provides a read-only object model for app packages.

Inheritance

The IAppxPackageReader interface inherits from the IUnknown interface. IAppxPackageReader also has these types of members:

Methods

The IAppxPackageReader interface has these methods.

 
IAppxPackageReader::GetBlockMap

Retrieves the block map object model of the package.
IAppxPackageReader::GetFootprintFile

Retrieves a footprint file from the package.
IAppxPackageReader::GetManifest

Retrieves the object model of the app manifest of the package.
IAppxPackageReader::GetPayloadFile

Retrieves a payload file from the package.
IAppxPackageReader::GetPayloadFiles

Retrieves an enumerator that iterates through the payload files in the package.

Remarks

The IAppxPackageReader interface provides the ability to access payload files from a package and to query metadata from footprint files.

This object can be retrieved using the CreatePackageReader method of the IAppxFactory interface.

Examples

For an example, see Quickstart: Extract app package contents and Quickstart: Read app package manifest info.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header appxpackaging.h

See also

IAppxPackageWriter