Search code examples
c#xamlwindows-store-appswin-universal-appwindows-store

Can an app discover its acquisition date?


Can an app discover its acquisition date without the need for a web service (besides the windows store)?

I need this in order to create a trial for an in-app purchase.

(This is a semi-follow-up to my previous question)


Solution

  • App and in-app-product purchase date is available in the receipt's AppReceipt and ProductReceipt fields. See CurrentApp.GetAppReceiptAsync