共用方式為


LicenseManager 類別

定義

提供管理應用程式授權信息的成員。

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
繼承
Object Platform::Object IInspectable LicenseManager
屬性

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)
應用程式功能
storeLicenseManagement

備註

注意

此類別需要 storeLicenseManagement受限制的功能

版本歷程記錄

Windows 版本 SDK 版本 增加值
1703 15063 RefreshLicensesAsync

方法

AddLicenseAsync(IBuffer)

安裝指定的應用程式授權。

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

取得指定產品的授權權利資訊。

RefreshLicensesAsync(LicenseRefreshOption)

重新整理目前裝置上應用程式授權的授權資訊。

適用於