Windows.Services.Store Windows.Services.Store Windows.Services.Store Windows.Services.Store Namespace

Provides types and members you can use to access and manage Windows Store-related data for the current app. For example, you can use this namespace to get Windows Store listing and license info for the current app, purchase the current app or products that are offered by the app, or download and install package updates for the app.

Note

This namespace was introduced in Windows 10, version 1607, and it can only be used in projects that target Windows 10 Anniversary Edition (10.0; Build 14393) or a later release in Visual Studio. If your project targets an earlier version of Windows 10, you must use the Windows.ApplicationModel.Store namespace instead of the Windows.Services.Store namespace. For more information, see In-app purchases and trials.

Classes

StoreAcquireLicenseResult StoreAcquireLicenseResult StoreAcquireLicenseResult StoreAcquireLicenseResult

Provides response data for a request to acquire a downloadable content (DLC) package license.

StoreAppLicense StoreAppLicense StoreAppLicense StoreAppLicense

Provides license info for the current app, including licenses for products that are offered by the app.

StoreAvailability StoreAvailability StoreAvailability StoreAvailability

Represents a specific instance of a product SKU that can be purchased.

StoreCollectionData StoreCollectionData StoreCollectionData StoreCollectionData

Provides additional data for a product SKU that the user has an entitlement to use.

StoreConsumableResult StoreConsumableResult StoreConsumableResult StoreConsumableResult

Provides response data for a request that involves a consumable add-on for the current app.

StoreContext StoreContext StoreContext StoreContext

Provides members you can use to access and manage Windows Store-related data for the current app. For example, you can use members of this class to get Windows Store listing and license info for the current app, purchase the current app or products that are offered by the app, or download and install package updates for the app.

StoreImage StoreImage StoreImage StoreImage

Represents an image that is associated with a product listing in the Windows Store.

StoreLicense StoreLicense StoreLicense StoreLicense

Provides license info for an add-on that is associated with the current app.

StorePackageLicense StorePackageLicense StorePackageLicense StorePackageLicense

Provides license info for a downloadable content (DLC) package for the current app.

StorePackageUpdate StorePackageUpdate StorePackageUpdate StorePackageUpdate

Provides info about a package for the current app that has an update available for download from the Windows Store.

StorePackageUpdateResult StorePackageUpdateResult StorePackageUpdateResult StorePackageUpdateResult

Provides info about a completed package update request for the current app.

StorePrice StorePrice StorePrice StorePrice

Contains pricing info for a product listing in the Windows Store.

StoreProduct StoreProduct StoreProduct StoreProduct

Represents a product that is available in the Windows Store.

StoreProductPagedQueryResult StoreProductPagedQueryResult StoreProductPagedQueryResult StoreProductPagedQueryResult

Provides response data for a paged request to retrieve details about products that can be purchased from within the current app.

StoreProductQueryResult StoreProductQueryResult StoreProductQueryResult StoreProductQueryResult

Provides response data for a request to retrieve details about products that can be purchased from within the current app.

StoreProductResult StoreProductResult StoreProductResult StoreProductResult

Provides response data for a request to retrieve details about the current app.

StorePurchaseProperties StorePurchaseProperties StorePurchaseProperties StorePurchaseProperties

Contains additional details that you can pass to a purchase request for a product, including the product name to display to the user during the purchase.

StorePurchaseResult StorePurchaseResult StorePurchaseResult StorePurchaseResult

Provides response data for a request to purchase an app or product that is offered by the app.

StoreRequestHelper StoreRequestHelper StoreRequestHelper StoreRequestHelper

Provides a helper method that can be used to send requests to the Windows Store for operations that do not yet have a corresponding API available in the Windows SDK.

StoreSendRequestResult StoreSendRequestResult StoreSendRequestResult StoreSendRequestResult

Provides response data for a request that is sent to the Windows Store.

StoreSku StoreSku StoreSku StoreSku

Provides info for a SKU of a product in the Windows Store.

StoreSubscriptionInfo StoreSubscriptionInfo StoreSubscriptionInfo StoreSubscriptionInfo

Provides subscription info for a product SKU that represents a subscription with recurring billing.

Important

Currently, the ability to create subscription add-ons is only available to developers who are participating in an early adoption program. We will make subscription add-ons available to all developer accounts in the future. For more information, see Enable subscription add-ons for your app.

StoreVideo StoreVideo StoreVideo StoreVideo

Represents a video that is associated with a product listing in the Windows Store.

Structs

StorePackageUpdateStatus StorePackageUpdateStatus StorePackageUpdateStatus StorePackageUpdateStatus

Provides status info for a package that is associated with a download or installation request.

Enums

StoreConsumableStatus StoreConsumableStatus StoreConsumableStatus StoreConsumableStatus

Defines values that represent the status of an request that is related to a consumable add-on.

StoreDurationUnit StoreDurationUnit StoreDurationUnit StoreDurationUnit

Defines values that represent the units of a trial period or billing period for a subscription.

Note

Subscriptions are not currently supported by Windows Dev Center or the Store. This enum exists to provide future support for subscriptions, and is not intended to be used by your code in the current release.

StorePackageUpdateState StorePackageUpdateState StorePackageUpdateState StorePackageUpdateState

Defines values that represent the state of a package download or installation request.

StorePurchaseStatus StorePurchaseStatus StorePurchaseStatus StorePurchaseStatus

Defines values that represent the status of a request to purchase an app or add-on.

Remarks

The StoreContext class is the main entry point to the Windows.Services.Store namespace. Use members of this class to perform tasks such as getting Windows Store listing and license info for the current app, purchasing the current app or add-ons that are offered by the app, or downloading and installing package updates for the app. Other classes and types in this namespace represent items such as add-ons for the app, licenses for the app and its add-ons, and Windows Store listing info for the app.

See Also