Skip to content
Back to top

# BiosealLicense.activateBuffer Method

Module: BiosealLicense

## Definition

Retrieves a license file buffer using customer credentials and a product reference and returns the license in a data buffer.

    static Uint8List activateBuffer(String? hardwareCode, String? login, String? password, String? productReference, String? commentary)

Parameters

`hardwareCode` String
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.
`login` String
in The customer login.
`password` String
in The customer password.
`productReference` String
in The requested product reference.
`commentary` String
in Commentary associated to this license activation, generally the host name.

Returns

`Uint8List`
The license data.

Exceptions

BiosealException
An error has occurred during Bioseal Library execution.