Griaule Biometrics

Home » GrSetLicenseFolder

GrSetLicenseFolder

Sets the directory in which Fingerprint SDK must search for its runtime license file.
This is an optional function. Please, read "Licensing Fingerprint SDK Based Deployed Applications" section
to know how Fingerprint SDK searchs for the license file.

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] licenseFolder

the directory where the Fingerprint SDK runtime license file is located.

See also

  • Return codes

Declaration

C++

int __stdcall GrSetLicenseFolder(char *licenseFolder);

Delphi

function GrSetLicenseFolder(licenseFolder: String): Integer; stdcall;

Sample Code

C++

int result;
	result = GrSetLicenseFolder("C:\\FingerprintSDKLicenseFolder");

Delphi

ret := GrSetLicenseFolder('C:\\FingerprintSDKLicenseFolder');