A C# wrapper around libgpgme
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead, 4 commits behind gpgme-sharp:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Examples Merge branch 'pinentry' Feb 10, 2019
GPGME.Native.Shared
GPGME.Native.Unix
GPGME.Native.Win32
gpgme-sharp
.editorconfig
.gitignore
AUTHORS
COPYING
Changelog
Directory.Build.targets
README.md
gpgme-sharp.sln

README.md

gpgme-sharp

gpgme-sharp is a C# wrapper around GPGME, the recommended way to use GnuPG within an application. It supports .NET Framework 4.0 and higher, and .NET Standard 2.0 (including .NET Core 2.0).

NuGet version 

Requirements

  • On Windows, you will need to install Gpg4Win.
  • On Debian and Ubuntu, install the libgpgme11 package.
  • On other Linux distros or other operating systems, install libgpgme using your favourite package manager, or compile it from source.

Note that Gpg4Win currently only distributes a 32-bit build, so on Windows you must set your C# app to run in 32-bit mode.

Usage

The library can be installed using NuGet:

dotnet add package gpgme-sharp

See the Examples directory in this repo for usage examples.