# getLicenseType static method

LicenseType getLicenseType()

Retrieves the license type.

return The license type. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    static LicenseType getLicenseType() {
      Pointer<Int32> pBiosealLicenseType = calloc();
      try {
        var err = biosealSDK.id3BiosealLicense_GetLicenseType(pBiosealLicenseType);
        if (err != BiosealError.success.value) {
          throw BiosealException(err);
        }
        final vBiosealLicenseType = LicenseTypeX.fromValue(pBiosealLicenseType.value);
        return vBiosealLicenseType;
      } finally {
        calloc.free(pBiosealLicenseType);
      }
    }