1

Using GnuPG from C# (Mono) on Linux (Ubuntu)

view story
linux-howto

http://stackoverflow.com – What I would like to do is to encrypt a string (E-Mail body) with a given public key (.asc file). Since I'm totally new to Linux I'm not sure how make use of an external process on that platform. The actual GnuPG command line syntax shouldn't be too hard I guess. I've heard a lot about this "piping"-thing ;-) Can I do that from my C#-Application (e.g. via the Process class)? How does it work and what's the difference in doing the same thing on Windows? And is there a way to do that cross-platform style so that my application will be able to invoke GnuPG on Linux AND Windows? (HowTos)