PackageId PackageId PackageId PackageId Class

Definition

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

public sealed class PackageIdpublic sealed class PackageIdPublic NotInheritable Class PackageIdpublic sealed class PackageId
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Use the 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 ProcessorArchitecturepublic ProcessorArchitecture Architecture { get; }
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Author Author Author Author

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

public string Author { get; }public string Author { get; }Public ReadOnly Property Author As stringpublic string Author { get; }
Value
string string string string

The value of the Author attribute the specified application package.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

FamilyName FamilyName FamilyName FamilyName

Gets the family name of the package.

public string FamilyName { get; }public string FamilyName { get; }Public ReadOnly Property FamilyName As stringpublic string FamilyName { get; }
Value
string string string string

The family name.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

FullName FullName FullName FullName

Gets the full name of the package.

public string FullName { get; }public string FullName { get; }Public ReadOnly Property FullName As stringpublic string FullName { get; }
Value
string string string string

The full name.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Name Name Name Name

Gets the name of the package.

public string Name { get; }public string Name { get; }Public ReadOnly Property Name As stringpublic string Name { get; }
Value
string string string string

The package name.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

ProductId ProductId ProductId ProductId

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

public string ProductId { get; }public string ProductId { get; }Public ReadOnly Property ProductId As stringpublic string ProductId { get; }
Value
string string string string

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

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Publisher Publisher Publisher Publisher

Gets the publisher of the package.

public string Publisher { get; }public string Publisher { get; }Public ReadOnly Property Publisher As stringpublic string Publisher { get; }
Value
string string string string

The publisher.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

PublisherId PublisherId PublisherId PublisherId

Gets the publisher ID of the package.

public string PublisherId { get; }public string PublisherId { get; }Public ReadOnly Property PublisherId As stringpublic string PublisherId { get; }
Value
string string string string

The publisher ID.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

ResourceId ResourceId ResourceId ResourceId

Gets the resource ID of the package.

public string ResourceId { get; }public string ResourceId { get; }Public ReadOnly Property ResourceId As stringpublic string ResourceId { get; }
Value
string string string string

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

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Version Version Version Version

Gets the package version info.

public PackageVersion Version { get; }public PackageVersion Version { get; }Public ReadOnly Property Version As PackageVersionpublic PackageVersion Version { get; }
Value
PackageVersion PackageVersion PackageVersion PackageVersion

The package version information.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)