Invoking gpg2.exe from C# script

Marc Haber mhaber at
Wed Jul 13 10:02:11 CEST 2011

On Tue, July 12, 2011 7:31 pm, Robert J. Hansen wrote:
> 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.

Thanks. That's exactly what I was looking for.
Any good examples you can point me to?


More information about the Gnupg-users mailing list