# GetInAppPurchaseSignature

## Description

Returns the signature for the last purchase of the given item, this can be checked against your public key to confirm the purchase was valid. It is recommended that you pass this signature to a server to do the check so that the check cannot be bypassed.

## Definition

string GetInAppPurchaseSignature(int iID)

char* agk::GetInAppPurchaseSignature(int iID)

## Parameters

- iID - The ID of the product to check. e.g. your first product ID is 0, your second is 1 etc.