FingerLicense.activateActivationKeyBuffer Method¶
Module: FingerLicense
Definition¶
Activates a license using an activation key and returns the license in a data buffer.
@staticmethod
activate_activation_key_buffer(hardware_code: str, activation_key: str, commentary: str) -> bytearray
Parameters
hardware_code
strin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.activation_key
strin The id3 activation key.commentary
strin Commentary associated to this license activation.
Returns
bytearray
The license data buffer.
Exceptions
An error has occurred during Finger Library execution.
static Uint8List activateActivationKeyBuffer(String? hardwareCode, String? activationKey, String? commentary)
Parameters
hardwareCode
Stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.activationKey
Stringin The id3 activation key.commentary
Stringin Commentary associated to this license activation.
Returns
Uint8List
The license data buffer.
Exceptions
An error has occurred during Finger Library execution.
public static byte[] ActivateActivationKeyBuffer(string hardwareCode, string activationKey, string commentary)
Parameters
hardwareCode
stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.activationKey
stringin The id3 activation key.commentary
stringin Commentary associated to this license activation.
Returns
byte[]
The license data buffer.
Exceptions
An error has occurred during Finger Library execution.
public static byte[] activateActivationKeyBuffer(String hardwareCode, String activationKey, String commentary) throws FingerException
Parameters
hardwareCode
Stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.activationKey
Stringin The id3 activation key.commentary
Stringin Commentary associated to this license activation.
Returns
byte[]
The license data buffer.
Exceptions
An error has occurred during Finger Library execution.
public static func activateActivationKeyBuffer(hardwareCode: String, activationKey: String, commentary: String) throws -> [UInt8]
Parameters
hardwareCode
Stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.activationKey
Stringin The id3 activation key.commentary
Stringin Commentary associated to this license activation.
Returns
[UInt8]
The license data buffer.
Exceptions
An error has occurred during Finger Library execution.
int id3FingerLicense_ActivateActivationKeyBuffer (
const char * hardwareCode,
const char * activationKey,
const char * commentary,
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.activationKey
const char *in The id3 activation key.commentary
const char *in Commentary associated to this license activation.licenseFileBuffer
unsigned char *out The license data buffer.licenseFileBufferSize
int *in Size of the ‘licenseFileBuffer’ buffer. Receives the number of elements in the ‘licenseFileBuffer’ array.
Returns