LicenseRefreshOption Enum
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.
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. |