DocumentLicense.reactivate Method¶
Module: DocumentLicense
Definition¶
Reactivates a license file using the host hardware code and the product reference.
@staticmethod
reactivate(hardware_code: str, product_reference: 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.product_referencestrin The product reference.pathstrin Path to the license file.
Exceptions
An error has occurred during Document Library execution.
static void reactivate(String? hardwareCode, String? productReference, String? path)
Parameters
hardwareCodeStringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.productReferenceStringin The product reference.pathStringin Path to the license file.
Exceptions
An error has occurred during Document Library execution.
public static void Reactivate(string hardwareCode, string productReference, string path)
Parameters
hardwareCodestringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.productReferencestringin The product reference.pathstringin Path to the license file.
Exceptions
An error has occurred during Document Library execution.
public static void reactivate(String hardwareCode, String productReference, String path) throws DocumentException
Parameters
hardwareCodeStringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.productReferenceStringin The product reference.pathStringin Path to the license file.
Exceptions
An error has occurred during Document Library execution.
public static func reactivate(hardwareCode: String, productReference: String, path: String) throws
Parameters
hardwareCodeStringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.productReferenceStringin The product reference.pathStringin Path to the license file.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentLicense_Reactivate (
const char * hardwareCode,
const char * productReference,
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.productReferenceconst char *in The product reference.pathconst char *in Path to the license file.
Returns