Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AppInfo.Current Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Retrieves the AppInfo object corresponding to the currently running process.

public:
 static property AppInfo ^ Current { AppInfo ^ get(); };
static AppInfo Current();
public static AppInfo Current { get; }
var appInfo = AppInfo.current;
Public Shared ReadOnly Property Current As AppInfo

Property Value

The AppInfo that corresponds to the process.

Windows requirements

Requirements Description
Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

When used by an unpackaged application, accessing this property throws an InvalidOperationException with HRESULT 80073D54, indicating "The process has no package identity."

Applies to


Feedback

Was this page helpful?