Skip to content
Back to top

# BiosealLicense.activate Method

Module: BiosealLicense

## Definition

Activates a license using customer credentials and a product reference and saves the license to a file.

    static void activate(String? hardwareCode, String? login, String? password, String? productReference, String? commentary, String? path)

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 id3 account login.
`password` String
in The id3 account password.
`productReference` String
in The requested product reference.
`commentary` String
in Commentary associated to this license activation.
`path` String
in Path to the retrieved license file.

Exceptions

BiosealException
An error has occurred during Bioseal Library execution.