IAppxManifestPackageId interface (appxpackaging.h)

Provides access to the package identity.

Inheritance

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

Methods

The IAppxManifestPackageId interface has these methods.

 
IAppxManifestPackageId::ComparePublisher

Compares the specified publisher with the publisher defined in the manifest.
IAppxManifestPackageId::GetArchitecture

Gets the processor architecture as defined in the manifest. (IAppxManifestPackageId.GetArchitecture)
IAppxManifestPackageId::GetName

Gets the name of the package as defined in the manifest.
IAppxManifestPackageId::GetPackageFamilyName

Gets the package family name.
IAppxManifestPackageId::GetPackageFullName

Gets the package full name.
IAppxManifestPackageId::GetPublisher

Gets the name of the package publisher as defined in the manifest.
IAppxManifestPackageId::GetResourceId

Gets the package resource identifier as defined in the manifest.
IAppxManifestPackageId::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

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

IAppxManifestReader

IAppxManifestReader::GetPackageId