.. index:: 
  !BiosealLicense.getHostHardwareCode Method
  
.. _id3_bioseal_bioseal_license_get_host_hardware_code_class_method:

===============================================================================
BiosealLicense.getHostHardwareCode Method
===============================================================================

Module: :ref:`BiosealLicense<id3_bioseal_bioseal_license_class>`

Definition
----------

Retrieves the hardware code of the device using the requested hardware code type.

This function retrieves the hardware code of the device you run the library on.

The optional parameter is required:

- On Android, it must be the JNIEnv* pointer cast as a void*.

- In other cases, it must be set to NULL.


.. code:: Dart

    static String getHostHardwareCode(LicenseHardwareCodeType hardwareCodeType)

**Parameters**

.. line-block::

    ``hardwareCodeType`` :ref:`LicenseHardwareCodeType<id3_bioseal_license_hardware_code_type_enum>`
    :guilabel:`in` The requested hardware code type.


**Returns**

.. line-block::

    ``String``
    The device hardware code.

**Exceptions**

.. line-block::

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



