FaceLicense.activateSerialKey Method

Module: FaceLicense

Definition

Activates a license using a serial key and saves the license to a file.

static void activateSerialKey(String? hardwareCode, String? serialKey, String? commentary, String? path)

Parameters

hardwareCode String
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

serialKey String
in The serial key to activate.

commentary String
in Commentary associated to this license activation, generally the host name.

path String
in Path to the license file.

Exceptions

An error has occurred during Face Library execution.