IAppxBlockMapReader interface

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

Members

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

Methods

The IAppxBlockMapReader interface has these methods.

MethodDescription
GetFile

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

GetFiles

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

GetHashMethod

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

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.

Examples

For a example code, see Read app package manifest info sample (DescribeAppx).

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

IID

IID_IAppxBlockMapReader is defined as 5efec991-bca3-42d1-9ec2-e92d609ec22a

See also

Samples
Read app package manifest info sample (DescribeAppx)
Reference
IAppxBlockMapBlock
IAppxBlockMapBlocksEnumerator
IAppxBlockMapFile
IAppxBlockMapFilesEnumerator

 

 

Show:
© 2014 Microsoft