Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

How to Decrypt a pgp file using C#

Created: 03 Mar 2013 | 1 comment

Hi there,

We are new to cryptography and have downloaded and used the trial version of PGP Desktop. A partner of ours have managed to send us an encrypted file (.pgp), which have been encrypted using our public key and we have managed (as a test) to decrypt the file manually and access the contents of the text-based file successfully. However, we would like to automate the decryption process as part of an automated stock file import process using C#. Is anyone out there able to guide us in the right direction on how to decrypt a pgp file using C#? We are using the .NET Framework 4.0 and the import application will be scheduled to run on a Windows Server 2008 machine.

Many thanks in advance.

Without wax

Operating Systems:

Comments 1 CommentJump to latest comment

Alex_CST's picture

PGP Desktop is the wrong product for this - this is why PGP Commandline was invented :)  It's ideally suited for automated processing of encrypting/decrypting - you want that product.

Please mark posts as solutions if they solve your problem!