Share via


LicenseManager.AddLicenseAsync(IBuffer) Method

Definition

Installs the specified app license.

public:
 static IAsyncAction ^ AddLicenseAsync(IBuffer ^ license);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction AddLicenseAsync(IBuffer const& license);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction AddLicenseAsync(IBuffer license);
function addLicenseAsync(license)
Public Shared Function AddLicenseAsync (license As IBuffer) As IAsyncAction

Parameters

license
IBuffer

The contents of the license to install.

Returns

An object that represents the installation operation.

Attributes

Windows requirements

App capabilities
storeLicenseManagement

Applies to