ChoPGP icon indicating copy to clipboard operation
ChoPGP copied to clipboard

why can not using the full file path?

Open hotmzc1977 opened this issue 5 years ago • 2 comments

I am using it now to develop a data exchange with bank. they say that my encrypted file will print full file path. I noticed that in your demo code, you only use file name, not file path.

hotmzc1977 avatar Sep 23 '20 14:09 hotmzc1977

Yes, you can use full path. Here is sample

            using (ChoPGPEncryptDecrypt pgp = new ChoPGPEncryptDecrypt())
            {
                pgp.EncryptFile(@"C:\Temp\SampleData.txt", @"C:\Temp\SampleData.PGP", "Sample_Pub.asc", true, false);
                Console.WriteLine("PGP Encryption done.");
            }

Cinchoo avatar Oct 01 '20 00:10 Cinchoo

but still bank staff said the my encrypted file will print full file path in the content. I found something else on stackoverflow, and bank staff say it is ok. https://stackoverflow.com/questions/10209291/pgp-encrypt-and-decrypt

hotmzc1977 avatar Oct 01 '20 03:10 hotmzc1977