LicenseManager.RefreshLicensesAsync(LicenseRefreshOption) Method
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.
Refreshes license info for app licenses on the current device.
public:
static IAsyncAction ^ RefreshLicensesAsync(LicenseRefreshOption refreshOption);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncAction RefreshLicensesAsync(LicenseRefreshOption const& refreshOption);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction RefreshLicensesAsync(LicenseRefreshOption refreshOption);
function refreshLicensesAsync(refreshOption)
Public Shared Function RefreshLicensesAsync (refreshOption As LicenseRefreshOption) As IAsyncAction
Parameters
- refreshOption
- LicenseRefreshOption
A LicenseRefreshOption that indicates whether to refresh all app licenses on the device or only the licenses for currently running apps.
Returns
An object that represents the asynchronous operation.
- Attributes
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
App capabilities |
storeLicenseManagement
|