Description

Used to rehost the Guardant DL software key in offline mode. The function sends a key data buffer extracted from the donor computer and the digital fingerprint of the recipient computer to the Guardant Station licensing server. If the function result is successful a key data buffer (which is equal to license), will need to be installed on the recipient computer. For successful execution, the computer where this function is called must have access to the Guardant Station licensing server.

To extract the key on the donor computer, you need to use the GrdLicenseExtractForRehost() function. The digital fingerprint is obtained on the recipient computer using the GrdGetHostFingerprint() function

Syntax

int GRD_API GrdLicenseSendRehostRequest(const char* host,
										grd_uint32 port,
                                        const void* donorLicense,
										grd_uint32 donorLicenseSize,
                                        const char* recipientHardwareFingerprint,
                                        void** recipientLicense,
										grd_uint32* recipientLicenseSize);

Parameters

host

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

port
Guardant license activation server port
donorLicense

Pointer to a buffer containing key data rehosted from another computer

donorLicenseSize

Size (in bytes) of the donorLicense buffer

recipientHardwareFingerprint

Pointer to a buffer containing the digital fingerprint of the receiving computer

recipientLicense

Pointer to a buffer where the license (=key) will be placed for installation on the receiving computer. Data is in base64 format

recipientLicenseSize

Size (in bytes) of recipientLicense buffer

Return values

GRD_OK

GRD_INVALID_PARAMETER

  • No labels