Share via


LicenseManager Class

Definition

Provides members for managing license info for apps.

public ref class LicenseManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class LicenseManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class LicenseManager
Public Class LicenseManager
Inheritance
Object Platform::Object IInspectable LicenseManager
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)
App capabilities
storeLicenseManagement

Remarks

Note

This class requires the storeLicenseManagement restricted capability.

Version history

Windows version SDK version Value added
1703 15063 RefreshLicensesAsync

Methods

AddLicenseAsync(IBuffer)

Installs the specified app license.

GetSatisfactionInfosAsync(IIterable<String>, IIterable<String>)

Gets license entitlement info for the specified products.

RefreshLicensesAsync(LicenseRefreshOption)

Refreshes license info for app licenses on the current device.

Applies to