FaceLicense.getExternalDriveHardwareCode Method¶
Module: FaceLicense
Definition¶
Retrieves the hardware code of the external drive you run the library on. This function works on Windows only.
static String getExternalDriveHardwareCode(LicenseHardwareCodeType hardwareCodeType, String? externalDrivePath)
Parameters
hardwareCodeType LicenseHardwareCodeTypein The requested hardware code type. Must be windowsUsb.
externalDrivePath Stringin On Windows to activate a license on a USB device, it must contain the path to the requested USB drive (e.g ‘G:').
Returns
StringThe device hardware code.
Exceptions
An error has occurred during Face Library execution.