# getHeaderVersion method

int getHeaderVersion()

Gets the the header version.

return The header version. throws BiosealException An error has occurred during Bioseal Library execution.

## Implementation

    int getHeaderVersion() {
      Pointer<Int> pHeaderVersion = calloc();
      try {
        var err = biosealSDK.id3Bioseal_GetHeaderVersion(_pHandle.value, pHeaderVersion);
        if (err != BiosealError.success.value) {
          throw BiosealException(err);
        }
        final vHeaderVersion = pHeaderVersion.value;
        return vHeaderVersion;
      } finally {
        calloc.free(pHeaderVersion);
      }
    }