Skip to content
Back to top

# BiosealLicense.activateSerialKeyBuffer Method

Module: BiosealLicense

## Definition

Activates a license using a serial key and returns the license in a data buffer.

    static Uint8List activateSerialKeyBuffer(String? hardwareCode, String? serialKey, String? commentary)

Parameters

`hardwareCode` String
in The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.
`serialKey` String
in The id3 serial key.
`commentary` String
in Commentary associated to this license activation.

Returns

`Uint8List`
The license data buffer.

Exceptions

BiosealException
An error has occurred during Bioseal Library execution.