Description
Used for Offline activation mode. On a computer with Internet access, it sends an activation request prepared in advance using the GrdLicenseCreateActivationRequest() function to the Guardant license activation server.
To save the activation request, the function allocates memory. To free the allocated memory, call the GrdFree() function.
Syntax
int GRD_API GrdLicenseSendActivationRequest(const char* serialNumber,
GrdCustomerInfo* customerInfo,
const void* request,
grd_uint32 requestSize,
const char* host,
grd_uint32 port,
void** outResponse,
grd_uint32* outResponseSize);
Parameters
serialNumber | Pointer to a buffer with a string containing the serial number |
customerInfo [optional] | Pointer to a structure containing customer information GrdCustomerInfo. May be NULL |
request | Pointer to the activation request buffer |
requestSize | The size (in bytes) of the activation request buffer |
host | Pointer to a string buffer containing the address of the Guardant license activation server |
port | Guardant license activation server port |
outResponse | Pointer to the return value of the pointer to the response buffer from the server |
outResponseSize | Pointer to the return value of the size (in bytes) of the server response buffer |