LicenseInformation Class

Provides access to the current app’s license metadata.

Syntax

public ref class LicenseInformation sealed  

Remarks

Example

You access this object through the LicenseInformation property of the CurrentAppSimulator object during testing, or the LicenseInformation property of the CurrentApp object when the app is distributed through the Microsoft Store.

Note

The CurrentApp object obtains its data from the Microsoft Store, which requires that you have a Microsoft Store developer account and that the app has been published in the Microsoft Store. If you don’t have a Microsoft Store developer account, you can test the functions of this class by using the CurrentAppSimulator.

Note

This class makes cross-OS calls. For more information, see Cross-OS Calls.

Requirements

Namespace: Windows.ApplicationModel.Store

Metadata: windows.winmd

See also

Reference

LicenseInformation Members

Windows.ApplicationModel.Store Namespace