Windows.ApplicationModel.Store Windows.ApplicationModel.Store Windows.ApplicationModel.Store Namespace
Provides types and members for interacting with the Windows Store to add in-app purchases and trial functionality to your Universal Windows Platform (UWP) app.
|CurrentApp CurrentApp CurrentApp||
Defines methods and properties you can use to get license and listing info about the current app and perform in-app product purchases.
|CurrentAppSimulator CurrentAppSimulator CurrentAppSimulator||
Defines methods and properties used to instantiate an object that you can use to get simulated license info during testing.
|LicenseInformation LicenseInformation LicenseInformation||
Provides access to the current app's license metadata.
|ListingInformation ListingInformation ListingInformation||
Provides the listing info that describes the app in the Windows Store.
|ProductLicense ProductLicense ProductLicense||
Provides info about a license that is associated with an add-on (also called an in-app product or IAP).
|ProductListing ProductListing ProductListing||
Provides localized information that details an add-on (also called an in-app product or IAP).
|ProductPurchaseDisplayProperties ProductPurchaseDisplayProperties ProductPurchaseDisplayProperties||
Used to provide the product name that is displayed to the user at time of purchase. This class is used in the creation of a RequestProductPurchaseAsync operation to visually represent a specific offer within a large catalog of in-app products, which is represented by a single product entry in the Windows Store.
Windows Phone 8 developers can also display an image associated with the product by providing a URI with image for display and an internally consumed description.
|PurchaseResults PurchaseResults PurchaseResults||
Contains information detailing the results of an in-app product purchase transaction.
|UnfulfilledConsumable UnfulfilledConsumable UnfulfilledConsumable||
Contains purchase and product information for an unfulfilled consumable in-app product.
|FulfillmentResult FulfillmentResult FulfillmentResult||
Defines values used to indicate fulfillment status for a consumable in-app product.
|ProductPurchaseStatus ProductPurchaseStatus ProductPurchaseStatus||
Defines values used to indicate the transaction status when purchasing an in-app product.
|ProductType ProductType ProductType||
Specifies the product type for an in-app product.
|LicenseChangedEventHandler LicenseChangedEventHandler LicenseChangedEventHandler||
Represents the method that will handle the LicenseChanged event.
You can use members in this namespace to add in-app purchases and trial functionality to your Universal Windows Platform (UWP) app to help monetize your app. You can use members in this namespace to check the license state of your app and determine if it's a trial version or an active license. This namespace can be used by UWP apps that target any version of Windows 10.
You need a valid Windows Store developer account to interact with the Windows Store by using the CurrentApp class. If you don't have a Windows Store developer account, you can use only the simulated functions in the CurrentAppSimulator class.
If your app targets Windows 10, version 1607 or later, we recommend that you use members of the Windows.Services.Store namespace instead of the Windows.ApplicationModel.Store namespace. The Windows.Services.Store namespace supports the latest add-on types, such as Store-managed consumable add-ons, and is designed to be compatible with future types of products and features supported by Windows Dev Center and the Store. The Windows.Services.Store namespace is also designed to have better performance. For more information, see In-app purchases and trials.
The Windows.ApplicationModel.Store namespace is not supported in Windows desktop applications that use the Desktop Bridge. These applications must use the Windows.Services.Store namespace to implement in-app purchases and trials. For more information, see In-app purchases and trials.