CurrentAppSimulator.GetAppReceiptAsync CurrentAppSimulator.GetAppReceiptAsync CurrentAppSimulator.GetAppReceiptAsync CurrentAppSimulator.GetAppReceiptAsync CurrentAppSimulator.GetAppReceiptAsync Method

Definition

Creates the async operation that the user can use to simulate requesting all receipts for this app and any in-app product purchases. For examples of how receipt information can be used, see Using receipts to verify product purchases.

public : static IAsyncOperation<Platform::String> GetAppReceiptAsync()
static IAsyncOperation<winrt::hstring> GetAppReceiptAsync() const;
public static IAsyncOperation<string> GetAppReceiptAsync()
Public Shared Function GetAppReceiptAsync() As IAsyncOperation(Of string)
Windows.ApplicationModel.Store.CurrentAppSimulator.getAppReceiptAsync().done( /* Your success and error handlers */ );

Returns

An XML-formatted string that contains all receipts for this app and any in-app product purchases.

Remarks

For more information about the contents of the receipt, see Using receipts to verify product purchases.