Description
Extracts a previously installed license to a rehost file (in this case, the entire Guardant DL key).
The file with the extracted license can be rehosted to another computer and installed using the GrdLicenseRehost() function.
It is also recommended to extract the license before the computer hardware configuration changing on which it is installed, or when you need to reinstall the operating system. This saves the Guardant DL key with the specified licenseId to a file for further installation back on the donor computer.
Rehost may be prohibited for a product on the Guardant Station licensing server. If the key contains such a product, the error GRD_REHOST_IS_NOT_ALLOWED will be returned.
int GRD_API GrdLicenseExtractForRehost(grd_uint32 licenseId, void** outDonorLicense, grd_uint32* outDonorLicenseSize);
Parameters
licenseId | Unique identifier of a previously activated license |
outDonorLicense | Pointer to the buffer for the license to be extracted |
outDonorLicenseSize | The size (in bytes) of the buffer for the extracted license |