Installs a license based on the product key.
| Prerequisites | This method must be called before the initialization of the library. |
| Return | On success, GR_OK is returned. On failure, the appropriate error code is returned. |
| [in] productKey |
the Product Key. |
See also
C++
int __stdcall GrInstallLicense(char *productKey);
Delphi
function GrInstallLicense(productKey: String): Integer; stdcall;
C++
int result;
result = GrInstallLicense("XXXX-XXXX-XXXX-XXXX");
Delphi
ret := GrInstallLicense('XXXX-XXXX-XXXX-XXXX');