Windows.ApplicationModel.Store namespace

Applies to Windows and Windows Phone

Provides types and members for interacting with the Windows Store. You can use the members of this class to check the license state of the app and determine if it's a trial version or an active license. You can also check in-app features and enable in-app purchases. This class also allows you to simulate these functions before you submit the app to the Windows Store.

Note  You need a valid Windows Store developer account to interact with the Windows Store. If you don't have a Windows Store developer account, you can use only the simulated functions.


The Windows.ApplicationModel.Store namespace has these types of members:


The Windows.ApplicationModel.Store namespace has these classes.

CurrentApp Defines methods and properties you can use to get license and listing info about the current app and perform in-app purchases.
CurrentAppSimulator Defines methods and properties used to instantiate an object that you can use to get simulated license info during testing.
LicenseInformation Provides access to the current app's license metadata.
ListingInformation Provides the listing info that describes the app in the Windows Store.
ProductLicense Provides info about a license that is associated with an in-app offer.
ProductListing Provides localized info about an in-app offer in your app.
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 purchases that is represented by a single product in the Store.
PurchaseResults Contains information detailing the results of an in-app purchase.
UnfulfilledConsumable Contains purchase and product information for an unfulfilled consumable.



The Windows.ApplicationModel.Store namespace has these delegates.

LicenseChangedEventHandler Represents the method that will handle the LicenseChanged event.



The Windows.ApplicationModel.Store namespace has these enumerations.

FulfillmentResult Defines values used to indicate fulfillment status for an in-app consumable purchase.
ProductPurchaseStatus Defines values used to indicate the transaction status of an in-app purchase.
ProductType Specifies the product type for a product.



Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8


Windows::ApplicationModel::Store [C++]



See also

Trial app and in-app purchase sample



© 2014 Microsoft