13 out of 14 rated this helpful - Rate this topic

Windows.ApplicationModel.Store namespace

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.

Members

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

Classes

The Windows.ApplicationModel.Store namespace has these classes.

ClassDescription
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.

 

Delegates

The Windows.ApplicationModel.Store namespace has these delegates.

DelegateDescription
LicenseChangedEventHandler Represents the method that will handle the LicenseChanged event.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

See also

Trial app and in-app purchase sample

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.