How to get Public Key Information

I was looking for a function to extract data from a public key. (email, fingerprint, hash, etc)

Found something for Javascript which would satify my needs if it would be in VB.NET. Unfortunatelly i am to stupied to convert this program.

http://www.hanewin.net/encrypt/PGcrypt.htm

I cruised the GPG MAN files up and down but did not found any function which would give me information about a public key.

It would be cool if I could use gpg like this

gpg --extract-key email key.asc
gpg --extract-key comment key.asc
gpg --extract-secret-key email key.asc

etc. etc.

Do you know about any code literature in VB.NET

Besten Dank

Michi :slight_smile: