PackageId PackageId PackageId PackageId PackageId Class

Definition

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

public : sealed class PackageId : IPackageId, IPackageIdWithMetadata
struct winrt::Windows::ApplicationModel::PackageId : IPackageId, IPackageIdWithMetadata
public sealed class PackageId : IPackageId, IPackageIdWithMetadata
Public NotInheritable Class PackageId Implements IPackageId, IPackageIdWithMetadata
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Properties

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