EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

Package query API

Learn about the package query API, which you can use to get info about the app packages installed on the system. Each app package contains the files that constitute a Windows Store app, and a manifest file that describes the software to Windows.

Important  You can't use this API in a Windows Store app. If you're creating a Windows Store app, use Windows.ApplicationModel.Package and Windows.ApplicationModel.PackageId.

In this section

TopicDescription

ClosePackageInfo

Closes a reference to the specified package information.

FindPackagesByPackageFamily

Finds the packages with the specified family name for the current user.

FormatApplicationUserModelId

Constructs an application user model ID from the package family name and the package relative application ID (PRAID).

GetApplicationUserModelId

Gets the application user model ID for the specified process.

GetApplicationUserModelIdFromToken

Gets the application user model ID for the specified token.

GetCurrentApplicationUserModelId

Gets the application user model ID for the current process.

GetCurrentPackageFamilyName

Gets the package family name for the calling process.

GetCurrentPackageFullName

Gets the package full name for the calling process.

GetCurrentPackageId

Gets the package identifier (ID) for the calling process.

GetCurrentPackageInfo

Gets the package information for the calling process.

GetCurrentPackagePath

Gets the package path for the calling process.

GetPackageApplicationIds

Gets the IDs of apps in the specified package.

GetPackageFamilyName

Gets the package family name for the specified process.

GetPackageFamilyNameFromToken

Gets the package family name for the specified token.

GetPackageFullName

Gets the package full name for the specified process.

GetPackageFullNameFromToken

Gets the package full name for the specified token.

GetPackageId

Gets the package identifier (ID) for the specified process.

GetPackageInfo

Gets the package information for the specified package.

GetPackagePath

Gets the path for the specified package.

GetPackagePathByFullName

Gets the path of the specified package.

GetPackagesByPackageFamily

Gets the packages with the specified family name for the current user.

GetStagedPackageOrigin

Gets the origin of the specified package.

GetStagedPackagePathByFullName

Gets the path of the specified staged package.

OpenPackageInfoByFullName

Opens the package information of the specified package.

PackageFamilyNameFromFullName

Gets the package family name for the specified package full name.

PackageFamilyNameFromId

Gets the package family name for the specified package identifier.

PackageFullNameFromId

Gets the package full name for the specified package identifier (ID).

PackageIdFromFullName

Gets the package identifier (ID) for the specified package full name.

PackageNameAndPublisherIdFromFamilyName

Gets the package name and publisher identifier (ID) for the specified package family name.

ParseApplicationUserModelId

Deconstructs an application user model ID to its package family name and package relative application ID (PRAID).

PackageOrigin

Specifies the origin of a package.

Identity constants

Specifies the length of the strings for the package's identity fields.

Package constants

Specifies how packages are to be processed.

PACKAGE_ID

Represents package identification information, such as name, version, and publisher.

PACKAGE_INFO

Represents package identification information that includes the package identifier, full name, and install location.

PACKAGE_VERSION

Represents the package version information.

 

Related topics

Concepts
App packages and deployment
Glossary
Reference
App package manifest schema
Packaging API
Package deployment API

 

 

Mostrar:
© 2014 Microsoft