BiosealLicense class
Handles the license to use this SDK.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
activate(
String? hardwareCode, String? login, String? password, String? productReference, String? commentary, String? path) → void - Activates a license using customer credentials and a product reference and saves the license to a file.
-
activateActivationKey(
String? hardwareCode, String? activationKey, String? commentary, String? path) → void - Activates a license file using an activation key and saves the license to a file.
-
activateActivationKeyBuffer(
String? hardwareCode, String? activationKey, String? commentary) → Uint8List - Activates a license using an activation key and returns the license in a data buffer.
-
activateBuffer(
String? hardwareCode, String? login, String? password, String? productReference, String? commentary) → Uint8List - Retrieves a license file buffer using customer credentials and a product reference and returns the license in a data buffer.
-
activateSerialKey(
String? hardwareCode, String? serialKey, String? commentary, String? path) → void - Activates a license using a serial key and saves the license to a file.
-
activateSerialKeyBuffer(
String? hardwareCode, String? serialKey, String? commentary) → Uint8List - Activates a license using a serial key and returns the license in a data buffer.
-
checkLicense(
String? licensePath) → void - Checks a license from a file. This function does two things:
-
checkLicenseBuffer(
Uint8List? licenseData) → void - Checks a license from a buffer. This function does two things:
-
checkLicenseBufferWithCard(
Uint8List? licenseData) → Uint8List - Checks the license using a buffer containing the license data and a card-based verification process. It outputs a challenge response for further verification.
-
checkLicenseWithCard(
String? licensePath) → Uint8List - Checks the license by using a card-based verification process. It takes the path to the license file and outputs a challenge response for further verification.
-
checkModule(
String? moduleName) → void - Checks if a module is present in the previously loaded license.
-
finalizeCheckLicenseWithCard(
Uint8List? cryptogram) → void - Finalizes the license check process using the provided cryptogram. It ensures the integrity and authenticity of the license verification.
-
getApplicationHardwareCode(
String? applicationName, String? certificate) → String - Build an application hardware code.
-
getExpiryDate(
) → String - Retrieves the license expiry date.
-
getExternalDriveHardwareCode(
LicenseHardwareCodeType hardwareCodeType, String? externalDrivePath) → String - Retrieves the hardware code of the external drive you run the library on. This function works on Windows only.
-
getHostHardwareCode(
LicenseHardwareCodeType hardwareCodeType) → String - 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:
-
getLicenseComment(
) → String - Retrieves the license comment.
-
getLicenseFileHardwareCode(
) → String - Retrieves the hardware code of the previously loaded license.
-
getLicenseFileSerial(
) → String - Retrieves the serial number of the previously loaded license.
-
getLicenseName(
) → String - Retrieves the license name.
-
getLicenseOwner(
) → String - Retrieves the license owner.
-
getLicensePath(
) → String - Retrieves the license path.
-
getLicenseType(
) → LicenseType - Retrieves the license type.
-
getModuleCount(
) → int - Retrieves the number of modules in the license.
-
getModuleName(
int index) → String - Retrieves the name of the specified license module.
-
getModuleValue(
String? name) → int - Retrieves the value associated to the specified license module.
-
getProductReference(
) → String - Retrieves the license product reference.
-
getRemainingDays(
) → int - Retrieves the number of remaining days.
-
reactivate(
String? hardwareCode, String? productReference, String? path) → void - Reactivates a license file using the host hardware code and the product reference.
-
reactivateBuffer(
String? hardwareCode, String? productReference) → Uint8List - Reactivates a license in a data buffer using the host hardware code and the product reference.