Description

Activates the Guardant DL software license on the user's computer.

Syntax

function GrdLicenseActivate(
  serialNumber: PAnsiChar;
  host: PAnsiChar;
  port: grd_uint32;
  customerInfo: PGrdCustomerInfo;
  outLicenseId: Pgrd_uint32): Integer; stdcall;

Parameters

serialNumber

Pointer to a string buffer containing the serial number.

host
Pointer to a string buffer containing the address of the Guardant license activation server
port
Guardant license activation server port
customerInfo

Pointer to a structure containing customer information GrdCustomerInfo (Delphi)

outLicenseId

Pointer to the return value of the unique license identifier

Return values

GRD_OK

GRD_INVALID_SERIAL_NUMBER

GRD_SERIAL_NUMBER_RESOURCE_EXHAUSTED

GRD_LICENSE_ALREADY_ACTIVATED

GRD_GET_HARDWARE_ID_ERROR

GRD_NOT_ENOUGH_HARWARE_TO_BIND

GRD_ACTIVATION_ON_VM_FORBIDDEN

GRD_REQUEST_FAILED

GRD_GET_RESPONSE_FAILED

GRD_SERVER_NOT_FOUND

GRD_INCORRECT_RESPONSE_DATA

GRD_ACTIVATION_NOT_AVAILABLE

GRD_FILE_CREATION_ERROR

GRD_INVALID_PARAMETER

  • No labels