Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

PGP or GPG encryption/decryption assembly?

I’m trying to write a C# application that needs to encrypt and decrypt files and then e-mail them to certain recipients.
Is there any recommended .NET library that can help with that or maybe even an easy to use COM object that could do the trick?
2 Solutions
Hi R666,

I have used PGP 7.1 in past EAI projects.

You can download a trial version of McAfee E-Business Server for Windows 7.1.1 there.

Here is the readme file for the PGP E-Business Server v.7.1.

Try to avoid using 8.x. Although it looks appealing since it is free, it has some bugs that we found in the following thread:

There is no support for 8.x either.
Mailing Receipients
1) Here is a link about sending mails using C# through SMTP


2) You can also do it using outlook, check this link


Regarding Encryption

1) You  can choose to make a function that encrpts your files (using some algorithm)
2) You  can use packages like PGP as suggested by gregasm

You will have to decided using which algorithm you need to encrypt and decrypt data

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now