Description

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

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

Syntax

function GrdLicenseCreateActivationRequest(
  outRequest: PPointer;
  outRequestSize: Pgrd_uint32): Integer; stdcall;

Parameters

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_INVALID_SERIAL_NUMBER

GRD_LICENSE_ALREADY_ACTIVATED

GRD_GET_HARDWARE_ID_ERROR

GRD_NOT_ENOUGH_HARWARE_TO_BIND

GRD_ACTIVATION_ON_VM_FORBIDDEN

GRD_INVALID_PARAMETER

  • No labels