DevicesLicense.activate Method¶
Module: DevicesLicense
Definition¶
Activates a license using customer credentials and a product reference and saves the license to a file.
@staticmethod
activate(hardware_code: str, login: str, password: str, product_reference: str, commentary: str, path: str) -> None
Parameters
hardware_code
strin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.login
strin The id3 account login.password
strin The id3 account password.product_reference
strin The requested product reference.commentary
strin Commentary associated to this license activation.path
strin Path to the retrieved license file.
Exceptions
An error has occurred during Devices Library execution.
static void activate(String? hardwareCode, String? login, String? password, String? productReference, String? commentary, String? path)
Parameters
hardwareCode
Stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.login
Stringin The id3 account login.password
Stringin The id3 account password.productReference
Stringin The requested product reference.commentary
Stringin Commentary associated to this license activation.path
Stringin Path to the retrieved license file.
Exceptions
An error has occurred during Devices Library execution.
public static void Activate(string hardwareCode, string login, string password, string productReference, string commentary, string path)
Parameters
hardwareCode
stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.login
stringin The id3 account login.password
stringin The id3 account password.productReference
stringin The requested product reference.commentary
stringin Commentary associated to this license activation.path
stringin Path to the retrieved license file.
Exceptions
An error has occurred during Devices Library execution.
public static void activate(String hardwareCode, String login, String password, String productReference, String commentary, String path) throws DevicesException
Parameters
hardwareCode
Stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.login
Stringin The id3 account login.password
Stringin The id3 account password.productReference
Stringin The requested product reference.commentary
Stringin Commentary associated to this license activation.path
Stringin Path to the retrieved license file.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesLicense_Activate (
const char * hardwareCode,
const char * login,
const char * password,
const char * productReference,
const char * commentary,
const char * path)
Parameters
hardwareCode
const char *in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.login
const char *in The id3 account login.password
const char *in The id3 account password.productReference
const char *in The requested product reference.commentary
const char *in Commentary associated to this license activation.path
const char *in Path to the retrieved license file.
Returns