Write c# program to decrypt files using an asc file.

I was given an asc file and a couple of pgp file that I need to write a program to decrypt. We will be getting more files in the future and want to automate the process.

Can anybody steer me in the right direction on how to do this?

TIA - Jeff.

I’m in a similar boat. Gpg4win looks like a UI with email integration.

It does have a command language option. You can use the GUI to help set it up or do the whole thing by the command prompt. Here is a website I found very helpful when it came to using automated decryption/encryption: