tags:

views:

34

answers:

2

Is there some way to use GNU Privacy Guard functionality directly? Yes, I know about redirecting input/output streams from gpg.exe utility, but maybe we can use some unmanaged libraries from distribution directly?

+1  A: 

I'm also interested in this.

You prb know about this wrapper class that wraps the redirecting streams to gpg.exe, but there doesn't seem to be much in the way of libraries.

There is SharpPrivacy but that has been dead a while, I looked at the source code (from codeproject) and the presentation logic is mixed in with the actual code - it needs a lot of tlc. The sourceforge page for it seems to be dead too.

Theres also Bouncy Castle which may do the job, I've not looked into it yet though, I would suggest it over SharpPrivacy though - let me know how you get on if you pursue this ;)

Matt Roberts
How is about GPGME library? Didn't you try to use it?
DixonD
Nope, didn't look at that. Don't really fancy trying to get it compiled and working in windows and then calling through unmanaged code.
Matt Roberts
A: 

I think I can answer my own question. I was pointed to Starksoft .NET GnuPG Component - free library that takes interaction with GPG on itself. Looks like it works fine, even if project seems to be not maintained a while.

DixonD