Description
Uses 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
function GrdLicenseSendActivationRequest( serialNumber: PAnsiChar; customerInfo: PGrdCustomerInfo; request: Pointer; requestSize: grd_uint32; host: PAnsiChar; port: grd_uint32; outResponse: PPointer; outResponseSize: Pgrd_uint32): Integer; stdcall;
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 |