DocumentLicense.activate Method¶
Module: DocumentLicense
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_codestrin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.loginstrin The id3 account login.passwordstrin The id3 account password.product_referencestrin The requested product reference.commentarystrin Commentary associated to this license activation.pathstrin Path to the retrieved license file.
Exceptions
An error has occurred during Document Library execution.
static void activate(String? hardwareCode, String? login, String? password, String? productReference, String? commentary, String? path)
Parameters
hardwareCodeStringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.loginStringin The id3 account login.passwordStringin The id3 account password.productReferenceStringin The requested product reference.commentaryStringin Commentary associated to this license activation.pathStringin Path to the retrieved license file.
Exceptions
An error has occurred during Document Library execution.
public static void Activate(string hardwareCode, string login, string password, string productReference, string commentary, string path)
Parameters
hardwareCodestringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.loginstringin The id3 account login.passwordstringin The id3 account password.productReferencestringin The requested product reference.commentarystringin Commentary associated to this license activation.pathstringin Path to the retrieved license file.
Exceptions
An error has occurred during Document Library execution.
public static void activate(String hardwareCode, String login, String password, String productReference, String commentary, String path) throws DocumentException
Parameters
hardwareCodeStringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.loginStringin The id3 account login.passwordStringin The id3 account password.productReferenceStringin The requested product reference.commentaryStringin Commentary associated to this license activation.pathStringin Path to the retrieved license file.
Exceptions
An error has occurred during Document Library execution.
public static func activate(hardwareCode: String, login: String, password: String, productReference: String, commentary: String, path: String) throws
Parameters
hardwareCodeStringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.loginStringin The id3 account login.passwordStringin The id3 account password.productReferenceStringin The requested product reference.commentaryStringin Commentary associated to this license activation.pathStringin Path to the retrieved license file.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentLicense_Activate (
const char * hardwareCode,
const char * login,
const char * password,
const char * productReference,
const char * commentary,
const char * path)
Parameters
hardwareCodeconst char *in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.loginconst char *in The id3 account login.passwordconst char *in The id3 account password.productReferenceconst char *in The requested product reference.commentaryconst char *in Commentary associated to this license activation.pathconst char *in Path to the retrieved license file.
Returns