I know it is in PowerShell and not in C# but it could help https://github.com/darkoperator/Posh-OpenPGP/blob/master/posh-openpgp.psm1 and https://github.com/darkoperator/Posh-OpenPGP/blob/master/Source/PGPHelper/PGPHelper/KeyUtilities.cs
> On Sep 19, 2014, at 9:59 AM, Paul Meyer <pdmeye...@gmail.com> wrote: > > Hello, > > I'm relatively new to bouncy castle, so there may be something obvious > I'm missing. For my project I need to be able to get and add PGP > public keys to/from my RSA keyring file (generated by GnuPG) in string > format using ID as the reference. > > For the first step (getting a key), I've posted the code that I tried here: > http://stackoverflow.com/questions/25468450/bouncycastle-c-sharp-publickey-different-than-gnupg > > Can you help me with that? > > Thank you, > Paul >