Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.

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!

http://www.cstl.com