Retrieves the release version number.
Public Declare Function PKI_Version Lib "diCrPKI.dll"
(ByVal nReserved1 As Long, ByVal nReserved2 As Long) As Long
nRet = PKI_Version(0, 0)
long __stdcall PKI_Version(void *nReserved1, void *nReserved2);
Version number as an integer in form
Major*100*100 + Minor*100 + Revision
.
For example, version 20.1.2 would return 200102
.
If this function fails, it means the toolkit is not installed or the library cannot be found.
Public Function pkiVersion
() As Long
static int dipki::Gen::Version ()
static Gen.version()
The arguments nReserved1 and nReserved2 are ignored.
Dim nRet As Long nRet = PKI_Version(0, 0) Debug.Print "PKI_Version returns " & nRet ' PKI_Version returns 200301
PKI_LicenceType PKI_CompileTime