Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ Gets license info for the current app, including licenses for add-ons for the cu
## -returns
An asynchronous operation that, on successful completion, returns a [StoreAppLicense](storeapplicense.md) object that contains license info for the current app, including add-on licenses.

## -exceptions

### T:System.Runtime.InteropServices.COMException

If the **ErrorCode** property of the exception has the value 0x80070490 (ERROR_NOT_FOUND), this indicates that the app license could not be found or retrieved.

## -remarks
The [StoreAppLicense](storeapplicense.md) object returned by this method provides access to licenses for add-ons and other info, such as whether the license is active. If this method is called while the device is offline, it returns the cached value of the current licenses on the device. The [OfflineLicensesChanged](storecontext_offlinelicenseschanged.md) event is raised when the status of the app's license changes.

Expand Down