FingerLicense.reactivateBuffer Method

Module: FingerLicense

Definition

Reactivates a license in a data buffer using the host hardware code and the product reference.

@staticmethod
reactivate_buffer(hardware_code: str, product_reference: str) -> bytearray

Parameters

hardware_code str
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

product_reference str
in The product reference.

Returns

bytearray
The new license data buffer.

Exceptions

An error has occurred during Finger Library execution.
static Uint8List reactivateBuffer(String? hardwareCode, String? productReference)

Parameters

hardwareCode String
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

productReference String
in The product reference.

Returns

Uint8List
The new license data buffer.

Exceptions

An error has occurred during Finger Library execution.
public static byte[] ReactivateBuffer(string hardwareCode, string productReference)

Parameters

hardwareCode string
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

productReference string
in The product reference.

Returns

byte[]
The new license data buffer.

Exceptions

An error has occurred during Finger Library execution.
public static byte[] reactivateBuffer(String hardwareCode, String productReference) throws FingerException

Parameters

hardwareCode String
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

productReference String
in The product reference.

Returns

byte[]
The new license data buffer.

Exceptions

An error has occurred during Finger Library execution.
public static func reactivateBuffer(hardwareCode: String, productReference: String) throws -> [UInt8]

Parameters

hardwareCode String
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

productReference String
in The product reference.

Returns

[UInt8]
The new license data buffer.

Exceptions

An error has occurred during Finger Library execution.
int id3FingerLicense_ReactivateBuffer (
    const char * hardwareCode,
    const char * productReference,
    unsigned char * licenseFileBuffer,
    int * licenseFileBufferSize)

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.

licenseFileBuffer unsigned char *
out The new license data buffer.

licenseFileBufferSize int *
in Size of the ‘licenseFileBuffer’ buffer. Receives the number of elements in the ‘licenseFileBuffer’ array.

Returns

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