CurrentAppSimulator.AppId CurrentAppSimulator.AppId CurrentAppSimulator.AppId CurrentAppSimulator.AppId CurrentAppSimulator.AppId Property

Definition

Gets a simulated app ID. Since CurrentAppSimulator is intended only for testing during app development, the returned CurrentAppSimulator.AppId will contain only 0's.

Once your app is listed on the Windows Store, CurrentApp.AppId will get the GUID generated during app on-boarding and used to list your app within the Windows Store catalog.

Note

App updates or changes to the app description will not result in a change to the CurrentApp.AppId.

public : static Platform::Guid AppId { get; }
static Guid AppId();
public static Guid AppId { get; }
Public Shared ReadOnly Property AppId As Guid
var guid = Windows.ApplicationModel.Store.CurrentAppSimulator.appId;

Property Value

Guid Guid Guid

The GUID that identifies the app in the Windows Store.

Remarks

Uses the AppId element in the WindowsStoreProxy.xml file as the data source for the members of the returned object. For more information, see Using the WindowsStoreProxy.xml file with CurrentAppSimulator.