Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.28 KB

storecontext_canacquirestorelicenseasync_871232308.md

File metadata and controls

31 lines (22 loc) · 1.28 KB
-api-id -api-type
M:Windows.Services.Store.StoreContext.CanAcquireStoreLicenseAsync(System.String)
winrt method

Windows.Services.Store.StoreContext.CanAcquireStoreLicenseAsync

-description

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.

-parameters

-param productStoreId

The Store ID of the DLC add-on to check.

-returns

An asynchronous operation that, on successful completion, returns a StoreCanAcquireLicenseResult object that indicates whether the license can be acquired.

-remarks

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.

-see-also

AcquireStoreLicenseForOptionalPackageAsync

-examples