Luxand FaceSDK – Library Activation

FaceSDK is a copy-protected library, and must be activated with a license key before its use. You need to pass the license key received from Luxand, Inc. to the FSDK_ActivateLibrary function before initializing Luxand FaceSDK. Almost all FaceSDK functions will return the FSDKE_NOT_ACTIVATED error code in case the library is not activated. To retrieve your license information, call FSDK_GetLicenseInfo. This function returns the name the library is licensed to. You may need to use the FSDK_GetHardware_ID function to obtain your hardware ID if your license is restricted to one machine only. Additionally, you can find out hardware ID by running the hardwareid program (ShowHardwareID.exe for Windows), which is located in the bin directory.

To get a temporary evaluation key from Luxand, Inc., run License Key Wizard from the Start – Luxand – FaceSDK menu. You may also request this key at

 http://luxand.com/facesdk/requestkey/.

FSDK_GetHardware_ID Function

Generates a Hardware ID code.

C++ Syntax:

int FSDK_GetHardware_ID(char* HardwareID);

Delphi Syntax:

function FSDK_GetHardware_ID(HardwareID: PChar): integer;

C# Syntax:

int FSDK.GetHardwareID(out string HardwareID);

VB Syntax:

Function FSDKVB_GetHardwareID(ByRef HardwareID As Byte) As Long

Parameters:

HardwareID – address of the null-terminated string for receiving the Hardware ID code.

Return Value:

Returns FSDKE_OK if successful.

FSDK_ActivateLibrary Function

Activates the FaceSDK library.

C++ Syntax:

int FSDK_ActivateLibrary(char* LicenseKey);

Delphi Syntax:

function FSDK_ActivateLibrary(LicenseKey: PChar): integer;

C# Syntax:

int FSDK.Activate(out string LicenseKey);

VB Syntax:

Function FSDKVB_Activate(ByVal LicenseKey As String) As Long

Parameters:

LicenseKey– License key you received from Luxand, Inc.

Return Value:

Returns FSDKE_OK if the registration key is valid and not expired.

FSDK_GetLicenseInfo Function

Retrieves license information.

C++ Syntax:

int FSDK_GetLicenseInfo(char* LicenseInfo);

Delphi Syntax:

function FSDK_GetLicenseInfo(LicenseInfo: PChar): integer;

C# Syntax:

int FSDK.GetLicenseInfo(out string LicenseInfo);

VB Syntax:

Function FSDKVB_GetLicenseInfo(ByRef LicenseInfo As Byte) As Long

Parameters:

LicenseInfo – address of the null-terminated string for receiving the license information. This variable should be allocated no less than 256 bytes of memory.

Return Value:

Returns FSDKE_OK if successful.

 

Next chapterInitialization

Contents

Top Downloads

Glamourizer
Turn ordinary photos into glamour portraits, hundreds at a time
Blink!
Log into your PC by simply looking at it
Echo FX
Enhance your videos with stunning video FX for Adobe® After Effects
BabyMaker
Don't wait nine months to see your baby! All you need is two pictures

Latest News

22.07.2010 Blink! 2.1 Released!
Blink! 2.1 Released! Securely login to Windows Vista/7, for both the 32- and 64-bit editions!

25.03.2010 FaceSDK 3 Released!
FaceSDK 3 goes gold! The updated release of FaceSDK vastly improves face recognition speed and accuracy over the previous version.

10.02.2010 Blink! 2.0 Automates Windows Login and Boosts Recognition Rate
Luxand updates Blink!, an innovative face-based biometric login system, with better and faster face recognition algorithms.

Solutions  |  Products  |  Download  |  Support  |  Development  |  Press  |  About Luxand
© 2005-2010 Luxand, Inc.