Griaule Biometrics

Home » GrInstallLicense

GrInstallLicense

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.

Parameters

[in] productKey

the Product Key.

See also

  • Return codes

Declaration

C++

int __stdcall GrInstallLicense(char *productKey);

Delphi

function GrInstallLicense(productKey: String): Integer; stdcall;

Sample Code

C++

int result;
	result = GrInstallLicense("XXXX-XXXX-XXXX-XXXX");

Delphi

ret := GrInstallLicense('XXXX-XXXX-XXXX-XXXX');