DevicesLicense.getProductReference Method

Module: DevicesLicense

Definition

Retrieves the license product reference.

@staticmethod
get_product_reference() -> str

Returns

str
The product reference.

Exceptions

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

Returns

String
The product reference.

Exceptions

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

Returns

string
The product reference.

Exceptions

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

Returns

String
The product reference.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesLicense_GetProductReference (
    char * productReference,
    int * productReferenceSize)

Parameters

productReference char *
out The product reference.

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

Returns

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