Get the original encrypted filename

27 views
Skip to first unread message

Yousif Mazeh

unread,
Feb 1, 2013, 9:12:58 AM2/1/13
to didisof...@googlegroups.com
Hello,

Please does PGPLib support retrieving the encrypted file name from PGP file.
If I got a PGP file named: xxx.PGP and this encrypts a file named myFile.txt, can i get just the name of as string to reuse it in my C# Application  "myFile.txt"??


Regards,

didisoft

unread,
Feb 1, 2013, 2:45:21 PM2/1/13
to didisof...@googlegroups.com
Hi Yousif,

Yes,
please check this example
if you wish to decrypt an OpenPGP file and collect the original name from inside the OpenPGP archive.

Or if you just want to observe the original file name of the OpenPGP encrypted data without performing decryption, please check

Please let me know if you need more examples.

Best Regards,
Peter Kalef
DidiSoft Ltd.
Reply all
Reply to author
Forward
0 new messages