Skip to content
| Marketplace
Sign in
Visual Studio>Controls>OpenPGP Library for .NET
OpenPGP Library for .NET

OpenPGP Library for .NET

DidiSoft Inc

|
2,934 clicks
| (0) | Free Trial
DidiSoft OpenPGP Library for .NET offers simple but powerful API for Open PGP cryptography operations. You will find all the encryption and signing OpenPGP functions against Files, Strings, Streams, Key management and key servers communication.
Get Started

DidiSoft OpenPGP Library for .NET is a simple, yet powerful class library that offers Open PGP encryption functionality. The list of available features starts with the OpenPGP standard (RFC 4880 and RFC 6637) and a wide set of extra functionality like support for multiple files inside a .PGP archive and connectivity to LDAP and HKP PGP key servers.

The Example below illustrates OpenPGP encryption of a file:

// C# sample
PGPLib pgp = new PGPLib();
// should output be ASCII or binary
bool asciiArmor = false;
// PGP encrypt 
pgp.EncryptFile(@"C:\INPUT.txt", @"C:\recipient_public_key.asc", @"C:\OUTPUT.pgp", asciiArmor);

 

'-- VB.NET example
Dim pgp As New PGPLib()
' should output be ASCII or binary

Dim asciiArmor As Boolean = False
' encrypt
pgp.EncryptFile("C:\INPUT.txt", "C:\recipient_public_key.asc", "C:\OUTPUT.pgp", asciiArmor)


DidiSoft OpenPGP Library for .NET edition supports .NET Framework (4.6, 4.5.1, 4.5, 4.0, 3.5, 2.0), UWP, .NET Core 1.1, WinRT, Silverlight 5, .NET CF (3.5, 2.0) on Windows CE and Windows Mobile devices, Windows Phone 8.1 and Windows Phone  8, Xamarin.iOS or Xamarin.Android.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft