Description

Used for Offline activation mode. On a computer with Internet access, it sends an activation request prepared in advance using the CreateActivationRequest method to the Guardant license activation server. 

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

Syntax

public unsafe Status SendActivationRequest(string serialNumber, 
										   CustomerInfo customerInfo, 
										   byte[] activationRequest, 
										   out byte[] outResponse)

Parameters

serialNumber
Guardant DL software license serial number
customerInfo
The CustomerInfo class contains information about the customer. 
activationRequest
Buffer with activation request
outResponse
Return buffer with response from server

Return values

GRD_OK

GRD_SERIAL_NUMBER_RESOURCE_EXHAUSTED

GRD_LICENSE_ALREADY_ACTIVATED

GRD_REQUEST_FAILED

GRD_GET_RESPONSE_FAILED

GRD_SERVER_NOT_FOUND

GRD_INCORRECT_RESPONSE_DATA

GRD_ACTIVATION_NOT_AVAILABLE

GRD_INVALID_PARAMETER

  • No labels