Retrieving the Name of the PGP Key (Name)

Available in EFT Server 6.1 and later.

The ICIPGPKeyInfo::Name read-only property allows you to retrieve the name of the PGP key (usually in the format Name <E-mail>).

HRESULT Name([out, retval] BSTR* pVal);

Example (VBScript):

MsgBox "Key name: " & Key.Name