DevicesLicense.getApplicationHardwareCode Method

Module: DevicesLicense

Definition

Build an application hardware code.

@staticmethod
get_application_hardware_code(application_name: str, certificate: str) -> str

Parameters

application_name str
in The application name.

certificate str
in The certificate.

Returns

str
The application hardware code.

Exceptions

An error has occurred during Devices Library execution.
static String getApplicationHardwareCode(String? applicationName, String? certificate)

Parameters

applicationName String
in The application name.

certificate String
in The certificate.

Returns

String
The application hardware code.

Exceptions

An error has occurred during Devices Library execution.
public static string GetApplicationHardwareCode(string applicationName, string certificate)

Parameters

applicationName string
in The application name.

certificate string
in The certificate.

Returns

string
The application hardware code.

Exceptions

An error has occurred during Devices Library execution.
public static String getApplicationHardwareCode(String applicationName, String certificate) throws DevicesException

Parameters

applicationName String
in The application name.

certificate String
in The certificate.

Returns

String
The application hardware code.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesLicense_GetApplicationHardwareCode (
    const char * applicationName,
    const char * certificate,
    char * code,
    int * codeSize)

Parameters

applicationName const char *
in The application name.

certificate const char *
in The certificate.

code char *
out The application hardware code.

codeSize int *
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).

Returns

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