Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
CurrentApp.GetAppReceiptAsync Method
Definition
- Namespace:
- Windows.ApplicationModel.Store
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Requests all receipts for the purchase of the app and any in-app products. For examples of how receipt information can be used, see Using receipts to verify product purchases.
public:
static IAsyncOperation<Platform::String ^> ^ GetAppReceiptAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<winrt::hstring> GetAppReceiptAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<string> GetAppReceiptAsync();
function getAppReceiptAsync()
Public Shared Function GetAppReceiptAsync () As IAsyncOperation(Of String)
Returns
An XML-formatted string that contains all receipt information for the purchase of the app and any in-app products.
- Attributes
Remarks
For more information about the contents of the receipt, see Using receipts to verify product purchases.
Applies to
Feedback
Was this page helpful?
