getVersion method
Gets the the certificate version.
return The certificate version. throws BiosealException An error has occurred during Bioseal Library execution.
Implementation
int getVersion() {
Pointer<Int> pVersion = calloc();
try {
var err = biosealSDK.id3BiosealCertificateInformation_GetVersion(_pHandle.value, pVersion);
if (err != BiosealError.success.value) {
throw BiosealException(err);
}
final vVersion = pVersion.value;
return vVersion;
} finally {
calloc.free(pVersion);
}
}