PGP or GPG encryption/decryption assembly?

Posted on 2004-11-04
Last Modified: 2008-02-01
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?
Question by:R666
    LVL 8

    Accepted Solution

    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.
    LVL 21

    Assisted Solution

    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

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now