You can try using my open source code and the free GnuPG shell for C # (and VB.NET). All code is licensed using the limitations of MIT, non-GPL. You can find the source release in CodePlex. Find the Alpha release to find the GPG library.
http://biko.codeplex.com/
Example:
GnuPG gpg = new GnuPG();
gpg.Recipient = "myfriend@domain.com";
FileStream sourceFile = new FileStream(@"c:\temp\source.txt", FileMode.Open);
FileStream outputFile = new FileStream(@"c:\temp\output.txt", FileMode.Create);
// encrypt the data using IO Streams - any type of input and output IO Stream can be used
gpg.Encrypt(sourceFile, outputFile);
source
share