App Simulator. Get Product Receipt Async(String) Method
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.
Creates the async operation that the user can use to simulate requesting the receipt for the specified product ID. For examples of how receipt information can be used, see Using receipts to verify product purchases.
public: static IAsyncOperation<Platform::String ^> ^ GetProductReceiptAsync(Platform::String ^ productId);
/// [Windows.Foundation.Metadata.RemoteAsync] static IAsyncOperation<winrt::hstring> GetProductReceiptAsync(winrt::hstring const& productId);
[Windows.Foundation.Metadata.RemoteAsync] public static IAsyncOperation<string> GetProductReceiptAsync(string productId);
Public Shared Function GetProductReceiptAsync (productId As String) As IAsyncOperation(Of String)
The unique identifier for the product. This ID is that was specified when the product was submitted for the app to the Store.
An XML-formatted string that contains the receipt for the specified product ID.
For more information about the contents of the receipt, see Using receipts to verify product purchases.
Submit and view feedback for