https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.store.currentapp.getproductreceiptasync?view=winrt-28000
CurrentApp.GetProductReceiptAsync(String) Method (Windows.ApplicationModel.Store) - Windows apps |...
Requests the receipt for the specified product ID. For examples of how receipt information can be used, see Using receipts to verify product purchases.
stringmethodwindowsstoreapps