-api-id | -api-type |
---|---|
M:Windows.Services.Store.StoreContext.CanAcquireStoreLicenseAsync(System.String) |
winrt method |
Gets a value that indicates whether a license can be acquired for the specified downloadable content (DLC) add-on of the current app for the current user.
The Store ID of the DLC add-on to check.
An asynchronous operation that, on successful completion, returns a StoreCanAcquireLicenseResult object that indicates whether the license can be acquired.
The Store ID for an add-on is available in Partner Center, and it is returned by the StoreId property of the StoreProduct that represents the add-on.
Note
Downloadable content (DLC) add-on are not available to all developer accounts.