Description

Used for Offline activation mode. On the user's computer without Internet access, it prepares an update request for further sending to the Guardant license activation server using the GrdLicenseSendUpdateRequest() function.

To save the activation request, the function allocates memory. To free the allocated memory, call the GrdFree() function.

Syntax

int GRD_API GrdLicenseCreateUpdateRequest(grd_uint32 licenseId, 
										  void** outRequest, 
										  grd_uint32* outRequestSize);

Parameters

licenseId
Unique license identifier
outRequest

Pointer to the return value of the pointer to the request buffer

outRequestSize
Pointer to the return value of the size (in bytes) of the request buffer

Return values

GRD_OK

GRD_LICENSE_NOT_ACTIVATED

GRD_INVALID_LICENSE

GRD_GET_HARDWARE_ID_ERROR

GRD_NOT_ENOUGH_HARWARE_TO_BIND

GRD_ACTIVATION_ON_VM_FORBIDDEN

GRD_INVALID_PARAMETER

  • No labels