DevicesLicense.reactivate Method¶
Module: DevicesLicense
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_code
strin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.product_reference
strin The product reference.path
strin Path to the license file.
Exceptions
An error has occurred during Devices Library execution.
static void reactivate(String? hardwareCode, String? productReference, String? path)
Parameters
hardwareCode
Stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.productReference
Stringin The product reference.path
Stringin Path to the license file.
Exceptions
An error has occurred during Devices Library execution.
public static void Reactivate(string hardwareCode, string productReference, string path)
Parameters
hardwareCode
stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.productReference
stringin The product reference.path
stringin Path to the license file.
Exceptions
An error has occurred during Devices Library execution.
public static void reactivate(String hardwareCode, String productReference, 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.productReference
Stringin The product reference.path
Stringin Path to the license file.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesLicense_Reactivate (
const char * hardwareCode,
const char * productReference,
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.productReference
const char *in The product reference.path
const char *in Path to the license file.
Returns