2012-12-07 139 views
1

我使用CurrentApp对象在我的应用程序中执行应用程序内购买。该过程运行良好,用户成功购买了不同的功能。在修复了一些错误之后,我必须为应用程序提供更新。更新后,通过应用程序内购买功能购买功能的用户抱怨失去了以前购买的功能。 Windows商店如何坚持购买?我是否需要在应用程序中手动存储所有交易详情?In App Purchase Windows Store应用程序

回答

0
if (!App.LicenseInformation.ProductLicenses[@"UpgradeOption1"].IsActive)  
{    
    // The content of code 
} 
else 
{ 
    // Include the upgrade logic 
} 

希望它能对你有所帮助......否则,你可以检查出this

和一个更伟大的blog