FingerLicense.activateBuffer Method¶
Module: FingerLicense
Definition¶
Retrieves a license file buffer using customer credentials and a product reference and returns the license in a data buffer.
@staticmethod
activate_buffer(hardware_code: str, login: str, password: str, product_reference: 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.login
strin The customer login.password
strin The customer password.product_reference
strin The requested product reference.commentary
strin Commentary associated to this license activation, generally the host name.
Returns
bytearray
The license data.
Exceptions
An error has occurred during Finger Library execution.
static Uint8List activateBuffer(String? hardwareCode, String? login, String? password, String? productReference, String? commentary)
Parameters
hardwareCode
Stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.login
Stringin The customer login.password
Stringin The customer password.productReference
Stringin The requested product reference.commentary
Stringin Commentary associated to this license activation, generally the host name.
Returns
Uint8List
The license data.
Exceptions
An error has occurred during Finger Library execution.
public static byte[] ActivateBuffer(string hardwareCode, string login, string password, string productReference, string commentary)
Parameters
hardwareCode
stringin The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.login
stringin The customer login.password
stringin The customer password.productReference
stringin The requested product reference.commentary
stringin Commentary associated to this license activation, generally the host name.
Returns
byte[]
The license data.
Exceptions
An error has occurred during Finger Library execution.
public static byte[] activateBuffer(String hardwareCode, String login, String password, String productReference, 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.login
Stringin The customer login.password
Stringin The customer password.productReference
Stringin The requested product reference.commentary
Stringin Commentary associated to this license activation, generally the host name.
Returns
byte[]
The license data.
Exceptions
An error has occurred during Finger Library execution.
public static func activateBuffer(hardwareCode: String, login: String, password: String, productReference: 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.login
Stringin The customer login.password
Stringin The customer password.productReference
Stringin The requested product reference.commentary
Stringin Commentary associated to this license activation, generally the host name.
Returns
[UInt8]
The license data.
Exceptions
An error has occurred during Finger Library execution.
int id3FingerLicense_ActivateBuffer (
const char * hardwareCode,
const char * login,
const char * password,
const char * productReference,
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.login
const char *in The customer login.password
const char *in The customer password.productReference
const char *in The requested product reference.commentary
const char *in Commentary associated to this license activation, generally the host name.licenseFileBuffer
unsigned char *out The license data.licenseFileBufferSize
int *in Size of the ‘licenseFileBuffer’ buffer. Receives the number of elements in the ‘licenseFileBuffer’ array.
Returns