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 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.