简体   繁体   中英

Trial apps in Windows Phone 8

In WinPhone 8 SDK, there are two LicenseInformation classes:

  • Microsoft.Phone.Marketplace.LicenseInformation (present since WP7.0)
  • Windows.ApplicationModel.Store.LicenseInformation (WinRT-inspired)

And two ways to initiate a full product purchase:

  • via MarketplaceDetailTask with app GUID as ContentIdentifier
  • via CurrentApp.RequestAppPurchaseAsync

They're slightly different. Which one should I use?

Follow the guidelines available here:

http://msdn.microsoft.com/en-us/library/ff967558(v=vs.105).aspx (Updated link for WP8)

http://msdn.microsoft.com/en-us/library/hh286402(v=vs.105).aspx (Updated link for wP8)

You should use MarketplaceDetailTask with the Microsoft.Phone.Marketplace.LicenseInformation class.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM