IAppxBlockMapReader interface (appxpackaging.h)

Represents a read-only object model for block maps that provides access to the file attributes and block hashes.

Inheritance

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

Methods

The IAppxBlockMapReader interface has these methods.

 
IAppxBlockMapReader::GetFile

Retrieves data corresponding to a file in the block map with the specified file name.
IAppxBlockMapReader::GetFiles

Retrieves an enumerator for traversing the files listed in the block map.
IAppxBlockMapReader::GetHashMethod

Retrieves the URI for the hash algorithm used to create block hashes in the block map.
IAppxBlockMapReader::GetStream

Retrieves a read-only stream that represents the XML content of the block map.

Remarks

The IAppxBlockMapReader represents the BlockMap root element of the block map. File elements are the child elements of the BlockMap element.

This object can be retrieved using the CreateBlockMapReader or CreateValidatedBlockMapReader method of the IAppxFactory interface, or the GetBlockMap method of the IAppxPackageReader interface.

For a code example, see the Query app package and app manifest sample.

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

IAppxBlockMapBlock

IAppxBlockMapBlocksEnumerator

IAppxBlockMapFile

IAppxBlockMapFilesEnumerator

Query app package and app manifest sample