DevicesLicense.getLicenseFileHardwareCode Method

Module: DevicesLicense

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 Devices Library execution.
static String getLicenseFileHardwareCode()

Returns

String
The license hardware code.

Exceptions

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

Returns

string
The license hardware code.

Exceptions

An error has occurred during Devices Library execution.
public static String getLicenseFileHardwareCode() throws DevicesException

Returns

String
The license hardware code.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesLicense_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 id3DevicesError file for the list of possible error codes.