如何在Window Store App中识别购买或未购买的产品

时间:2014-06-10 05:39:56

标签: window in-app-purchase

如何在处理购买时识别在Window Store App中购买或未购买的产品。

如果用户点击取消而不是购买。比如何获得取消按钮事件。

1 个答案:

答案 0 :(得分:0)

await CurrentApp.RequestProductPurchaseAsync("...");
if (CurrentApp.LicenseInformation.ProductLicenses["..."].IsActive) {
    ...
} else {
    ...
}
相关问题