.. index:: 
  !BiosealLicense.activateBuffer Method
  
.. _id3_bioseal_bioseal_license_activate_buffer_class_method:

===============================================================================
BiosealLicense.activateBuffer Method
===============================================================================

Module: :ref:`BiosealLicense<id3_bioseal_bioseal_license_class>`

Definition
----------

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


.. code:: Dart

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

**Parameters**

.. line-block::

    ``hardwareCode`` String
    :guilabel:`in` The hardware code on which the license file will be attached, to be retrieved using the GetHostHardwareCode function.

    ``login`` String
    :guilabel:`in` The customer login.

    ``password`` String
    :guilabel:`in` The customer password.

    ``productReference`` String
    :guilabel:`in` The requested product reference.

    ``commentary`` String
    :guilabel:`in` Commentary associated to this license activation, generally the host name.


**Returns**

.. line-block::

    ``Uint8List``
    The license data.

**Exceptions**

.. line-block::

    :ref:`BiosealException<id3_bioseal_bioseal_exception>`
    An error has occurred during Bioseal Library execution.



