FaceLicense.getLicenseFileHardwareCode Method

Module: FaceLicense

Definition

Retrieves the hardware code of the previously loaded license.

@staticmethod
get_license_file_hardware_code() -> str

Returns

str
The license hardware code.

Exceptions

An error has occurred during Face Library execution.
static String getLicenseFileHardwareCode()

Returns

String
The license hardware code.

Exceptions

An error has occurred during Face Library execution.
public static string GetLicenseFileHardwareCode()

Returns

string
The license hardware code.

Exceptions

An error has occurred during Face Library execution.
public static String getLicenseFileHardwareCode() throws FaceException

Returns

String
The license hardware code.

Exceptions

An error has occurred during Face Library execution.
public static func getLicenseFileHardwareCode() throws -> String

Returns

String
The license hardware code.

Exceptions

An error has occurred during Face Library execution.
int id3FaceLicense_GetLicenseFileHardwareCode (
    char * licenseFileHardwareCode,
    int * licenseFileHardwareCodeSize)

Parameters

licenseFileHardwareCode char *
out The license hardware code.

licenseFileHardwareCodeSize int *
in Size of the ‘licenseFileHardwareCode’ buffer. Receives the minimum required buffer size to hold the ‘licenseFileHardwareCode’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘licenseFileHardwareCode’ (excluding terminating NULL character).

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.