DevicesLicense.getModuleName Method

Module: DevicesLicense

Definition

Retrieves the name of the specified license module.

@staticmethod
get_module_name(index: int) -> str

Parameters

index int
in Index of the module, starting from 0.

Returns

str
The license module name.

Exceptions

An error has occurred during Devices Library execution.
static String getModuleName(int index)

Parameters

index int
in Index of the module, starting from 0.

Returns

String
The license module name.

Exceptions

An error has occurred during Devices Library execution.
public static string GetModuleName(int index)

Parameters

index int
in Index of the module, starting from 0.

Returns

string
The license module name.

Exceptions

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

Parameters

index int
in Index of the module, starting from 0.

Returns

String
The license module name.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesLicense_GetModuleName (
    int index,
    char * name,
    int * nameSize)

Parameters

index int
in Index of the module, starting from 0.

name char *
out The license module name.

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

Returns

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