Skip to main content

Windows Dev Center

CurrentAppSimulator.LicenseInformation | licenseInformation property

Gets the simulated license metadata for the current app as provided by the simulation.

Syntax


var licenseInformation = Windows.ApplicationModel.Store.CurrentAppSimulator.licenseInformation;

public static LicenseInformation LicenseInformation { get; }

Public Shared ReadOnly Property LicenseInformation As LicenseInformation

public:
static property LicenseInformation^ LicenseInformation { 
   LicenseInformation^ get();
}

Property value

Type: LicenseInformation

The license metadata for the current app as provided by the simulation.

Remarks

Uses the CurrentApp/LicenseInformation element in the WindowsStoreProxy.xml file as the data source for the members of the returned object. For more info, see the code examples in CurrentAppSimulator.

This API does not require a network connection.

Requirements ( device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.ApplicationModel.Store
Windows::ApplicationModel::Store [C++]

Metadata

Windows.winmd

See also

CurrentAppSimulator