Package​Id Package​Id Package​Id Package​Id Class

Definition

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

public : sealed class PackageId : IPackageId, IPackageIdWithMetadatapublic sealed class PackageId : IPackageId, IPackageIdWithMetadataPublic NotInheritable Class PackageId Implements IPackageId, IPackageIdWithMetadata// You can use this class in JavaScript.
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

Gets the processor architecture for which the package was created.

public : ProcessorArchitecture Architecture { get; }public ProcessorArchitecture Architecture { get; }Public ReadOnly Property Architecture As ProcessorArchitecture// You can use this property in JavaScript.
See Also

Author Author Author Author

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

public : PlatForm::String Author { get; }public string Author { get; }Public ReadOnly Property Author As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The value of the Author attribute for the specified application package.

FamilyName FamilyName FamilyName FamilyName

Gets the family name of the package.

public : PlatForm::String FamilyName { get; }public string FamilyName { get; }Public ReadOnly Property FamilyName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The family name.

See Also

FullName FullName FullName FullName

Gets the full name of the package.

public : PlatForm::String FullName { get; }public string FullName { get; }Public ReadOnly Property FullName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The full name.

See Also

Name Name Name Name

Gets the name of the package.

public : PlatForm::String Name { get; }public string Name { get; }Public ReadOnly Property Name As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The package name.

See Also

ProductId ProductId ProductId ProductId

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

public : PlatForm::String ProductId { get; }public string ProductId { get; }Public ReadOnly Property ProductId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The value of the ProductID attribute associated with this XAP application package.

Publisher Publisher Publisher Publisher

Gets the publisher of the package.

public : PlatForm::String Publisher { get; }public string Publisher { get; }Public ReadOnly Property Publisher As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The publisher.

See Also

PublisherId PublisherId PublisherId PublisherId

Gets the publisher ID of the package.

public : PlatForm::String PublisherId { get; }public string PublisherId { get; }Public ReadOnly Property PublisherId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The publisher ID.

See Also

ResourceId ResourceId ResourceId ResourceId

Gets the resource ID of the package.

public : PlatForm::String ResourceId { get; }public string ResourceId { get; }Public ReadOnly Property ResourceId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The resource ID. If there is no resource ID for the package, this property is null.

See Also

Version Version Version Version

Gets the package version info.

public : PackageVersion Version { get; }public PackageVersion Version { get; }Public ReadOnly Property Version As PackageVersion// You can use this property in JavaScript.
Value
PackageVersion PackageVersion PackageVersion PackageVersion

The package version information.

See Also

See Also