Invoking gpg2.exe from C# script

Robert J. Hansen rjh at sixdemonbag.org
Tue Jul 12 19:31:25 CEST 2011


On 7/12/11 10:48 AM, Marc Haber wrote:
> I would like the user to avoid typing the password each time, but I'm
> not sure of how to call gpg2.exe while providing the passphrase on
> the command line.

I'd suggest using P/Invoke on GPGME.  Doing this from within managed
code is going to bring you nothing but tears.



More information about the Gnupg-users mailing list