ChoPGP
ChoPGP copied to clipboard
why can not using the full file path?
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.
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.");
}
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