DevicesLicense.getLicenseFileSerial Method

Module: DevicesLicense

Definition

Retrieves the serial number of the previously loaded license.

@staticmethod
get_license_file_serial() -> str

Returns

str
The license serial number.

Exceptions

An error has occurred during Devices Library execution.
static String getLicenseFileSerial()

Returns

String
The license serial number.

Exceptions

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

Returns

string
The license serial number.

Exceptions

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

Returns

String
The license serial number.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesLicense_GetLicenseFileSerial (
    char * licenseFileSerial,
    int * licenseFileSerialSize)

Parameters

licenseFileSerial char *
out The license serial number.

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

Returns

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