0

I am new here so please forgive me for any mistakes. I have a requirement where i have to encrypt the original file and when i do decryption at that time i cannot not save decrypted data into any file. The decrypted data must be loaded in memory and should be shown from there only. If the file word document then it show be shown in the word control and if file is the pdf and then it should be shown in the pdf control.

Please need help for this.

Kevin
  • 4,586
  • 23
  • 35
Ravi Modha
  • 21
  • 5
  • 1
    Let's start with what you tried? – christopher Jul 24 '13 at 10:32
  • Thank You for replying chris. I have not tried anything yet. searching since 3 to 4 hours but getting only one library name which is Spire.Doc but it requires to save the file to decrypted and that i can't do as per my requirement. – Ravi Modha Jul 24 '13 at 10:40
  • This will get you started. Then try something and post code for what you have tried. Note that this was the first hit when I searched C# encryption on StackOverflow. http://stackoverflow.com/a/212707/2270839 – Kevin Jul 24 '13 at 10:47
  • Kevin thankx for replying but i want to encrypt/decrypt file not the text value. – Ravi Modha Jul 24 '13 at 11:00
  • Ravi - put some effort in. This is straight from Google. Surely you can amend this to suit your needs ? http://support.microsoft.com/kb/307010 – SteveB Jul 24 '13 at 11:28

0 Answers0