Skip to content
Back to top

# BiosealLicense.checkLicenseBuffer Method

Module: BiosealLicense

## Definition

Checks a license from a buffer.

This function does two things:

- First it loads the license from a buffer

- Then it checks the validity of the license regarding the host it is called on (Windows, Linux, Android …)

Important

Calling one of the license checking function is required to get access to all the license member getters.

Note

The optional parameter is required on Android and must be the JNIEnv* pointer casted as a void*. It can be set as NULL for other devices.

    static void checkLicenseBuffer(Uint8List? licenseData)

Parameters

`licenseData` Uint8List
in A buffer containing the license file data.

Exceptions

BiosealException
An error has occurred during Bioseal Library execution.