PackageId PackageId PackageId PackageId PackageId Class


Provides package identification info, such as name, version, and publisher.

public : sealed class PackageId
struct winrt::Windows::ApplicationModel::PackageId
public sealed class PackageId
Public NotInheritable Class PackageId
// This class does not provide a public constructor.

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Use the Package.Current property to get the package for the current app.


Architecture Architecture Architecture Architecture Architecture

Gets the processor architecture for which the package was created.

Author Author Author Author Author

Windows Phone only. Gets the value of the Author attribute for the specified application package.

FamilyName FamilyName FamilyName FamilyName FamilyName

Gets the family name of the package.

FullName FullName FullName FullName FullName

Gets the full name of the package.

Name Name Name Name Name

Gets the name of the package.

ProductId ProductId ProductId ProductId ProductId

Windows Phone only. Gets the value of the ProductID attribute associated with this XAP application package.

Publisher Publisher Publisher Publisher Publisher

Gets the publisher of the package.

PublisherId PublisherId PublisherId PublisherId PublisherId

Gets the publisher ID of the package.

ResourceId ResourceId ResourceId ResourceId ResourceId

Gets the resource ID of the package.

Version Version Version Version Version

Gets the package version info.

See also