Package.Current Property
Definition
Gets the package for the current app.
public:
static property Package ^ Current { Package ^ get(); };
Package Current();
public static Package Current { get; }
var package = Package.current;
Public Shared ReadOnly Property Current As Package
Property Value
The package.
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.