Share via


LicenseRefreshOption Enum

Definition

Defines values that can be used with the LicenseManager.RefreshLicensesAsync method to specify which app licenses to refresh on the current device.

public enum class LicenseRefreshOption
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class LicenseRefreshOption
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum LicenseRefreshOption
var value = Windows.ApplicationModel.Store.LicenseManagement.LicenseRefreshOption.runningLicenses
Public Enum LicenseRefreshOption
Inheritance
LicenseRefreshOption
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
RunningLicenses 0

Refreshes only the licenses for currently running apps.

AllLicenses 1

Refreshes all app licenses on the device.

Applies to