IAppxManifestPackageId interface

Provides access to the package identity.

Members

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

Methods

The IAppxManifestPackageId interface has these methods.

MethodDescription
ComparePublisher

Compares the specified publisher with the publisher defined in the manifest.

GetArchitecture

Gets the processor architecture as defined in the manifest.

GetName

Gets the name of the package as defined in the manifest.

GetPackageFamilyName

Gets the package family name.

GetPackageFullName

Gets the package full name.

GetPublisher

Gets the name of the package publisher as defined in the manifest.

GetResourceId

Gets the package resource identifier as defined in the manifest.

GetVersion

Gets the version of the package as defined in the manifest.

 

Remarks

Package identity information is specified using the Identity element in the package manifest.

This object can be retrieved using the IAppxManifestReader::GetPackageId method.

Examples

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

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_IAppxManifestPackageId is defined as 283ce2d7-7153-4a91-9649-7a0f7240945f

See also

IAppxManifestReader
IAppxManifestReader::GetPackageId

 

 

Show:
© 2014 Microsoft