FingerLicense.getHostHardwareCode Method¶
Module: FingerLicense
Definition¶
Retrieves the hardware code of the device using the requested hardware code type.
This function retrieves the hardware code of the device you run the library on.
The optional parameter is required:
On Android, it must be the JNIEnv* pointer cast as a void*.
In other cases, it must be set to NULL.
@staticmethod
get_host_hardware_code(hardware_code_type: LicenseHardwareCodeType) -> str
Parameters
hardware_code_typeLicenseHardwareCodeTypein The requested hardware code type.
Returns
strThe device hardware code.
Exceptions
An error has occurred during Finger Library execution.
static String getHostHardwareCode(LicenseHardwareCodeType hardwareCodeType)
Parameters
hardwareCodeTypeLicenseHardwareCodeTypein The requested hardware code type.
Returns
StringThe device hardware code.
Exceptions
An error has occurred during Finger Library execution.
public static string GetHostHardwareCode(LicenseHardwareCodeType hardwareCodeType)
Parameters
hardwareCodeTypeLicenseHardwareCodeTypein The requested hardware code type.
Returns
stringThe device hardware code.
Exceptions
An error has occurred during Finger Library execution.
public static String getHostHardwareCode(LicenseHardwareCodeType hardwareCodeType) throws FingerException
Parameters
hardwareCodeTypeLicenseHardwareCodeTypein The requested hardware code type.
Returns
StringThe device hardware code.
Exceptions
An error has occurred during Finger Library execution.
public static func getHostHardwareCode(hardwareCodeType: LicenseHardwareCodeType) throws -> String
Parameters
hardwareCodeTypeLicenseHardwareCodeTypein The requested hardware code type.
Returns
StringThe device hardware code.
Exceptions
An error has occurred during Finger Library execution.
int id3FingerLicense_GetHostHardwareCode (
id3FingerLicenseHardwareCodeType eHardwareCodeType,
char * code,
int * codeSize,
void * optionalParameter)
Parameters
eHardwareCodeTypeid3FingerLicenseHardwareCodeTypein The requested hardware code type.codechar *out The device hardware code.codeSizeint *in Size of the ‘code’ buffer. Receives the minimum required buffer size to hold the ‘code’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘code’ (excluding terminating NULL character).optionalParametervoid *in Only used on Android for JNIEnv* pointer. Ignored for other devices (NULL).
Returns