getManifestId method

int getManifestId()

Gets the the manifest ID in ISO 22385 format.

return The manifest ID in ISO 22385 format. throws BiosealException An error has occurred during Bioseal Library execution.

Implementation

int getManifestId() {
  Pointer<Int> pManifestId = calloc();
  try {
    var err = biosealSDK.id3Bioseal_GetManifestId(_pHandle.value, pManifestId);
    if (err != BiosealError.success.value) {
      throw BiosealException(err);
    }
    final vManifestId = pManifestId.value;
    return vManifestId;
  } finally {
    calloc.free(pManifestId);
  }
}