FaceLicense.activateSerialKey Method¶
Module: FaceLicense
Definition¶
Activates a license using a serial key and saves the license to a file.
@staticmethod
activate_serial_key(hardware_code: str, serial_key: str, commentary: str, path: str) -> None
Parameters
hardware_code
strin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.serial_key
strin The serial key to activate.commentary
strin Commentary associated to this license activation, generally the host name.path
strin Path to the license file.
Exceptions
An error has occurred during Face Library execution.
static void activateSerialKey(String? hardwareCode, String? serialKey, String? commentary, String? path)
Parameters
hardwareCode
Stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.serialKey
Stringin The serial key to activate.commentary
Stringin Commentary associated to this license activation, generally the host name.path
Stringin Path to the license file.
Exceptions
An error has occurred during Face Library execution.
public static void ActivateSerialKey(string hardwareCode, string serialKey, string commentary, string path)
Parameters
hardwareCode
stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.serialKey
stringin The serial key to activate.commentary
stringin Commentary associated to this license activation, generally the host name.path
stringin Path to the license file.
Exceptions
An error has occurred during Face Library execution.
public static void activateSerialKey(String hardwareCode, String serialKey, String commentary, String path) throws FaceException
Parameters
hardwareCode
Stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.serialKey
Stringin The serial key to activate.commentary
Stringin Commentary associated to this license activation, generally the host name.path
Stringin Path to the license file.
Exceptions
An error has occurred during Face Library execution.
public static func activateSerialKey(hardwareCode: String, serialKey: String, commentary: String, path: String) throws
Parameters
hardwareCode
Stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.serialKey
Stringin The serial key to activate.commentary
Stringin Commentary associated to this license activation, generally the host name.path
Stringin Path to the license file.
Exceptions
An error has occurred during Face Library execution.
int id3FaceLicense_ActivateSerialKey (
const char * hardwareCode,
const char * serialKey,
const char * commentary,
const char * path)
Parameters
hardwareCode
const char *in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.serialKey
const char *in The serial key to activate.commentary
const char *in Commentary associated to this license activation, generally the host name.path
const char *in Path to the license file.
Returns