Package.Current Package.Current Package.Current Package.Current Package.Current Property

Definition

Gets the package for the current app.

public : static Package Current { get; }
static Package Current();
public static Package Current { get; }
Public Shared ReadOnly Property Current As Package
var package = Windows.ApplicationModel.Package.current;

Property Value

Remarks

Important

Although Package is supported in desktop apps, this member is supported only in UWP apps. To access a package object from a desktop app, use Windows.Management.Deployment.PackageManager.

See also