Retrieving the Size of the PGP Key (Size)

Available in EFT Server 6.1 and later.

The ICIPGPKeyInfo::Size read-only property allows you to retrieve the size of the PGP key.

HRESULT Size([out, retval] long* pVal);

Example (VBScript):

MsgBox "Key size: " & CStr(Key.Size) & " bits"