Header-Text-Box-Right

we have developed this blog to share my existing knowledge which I had gained in last 10+ years in IT. It is difficult to write all our knowledge on this blog but, still we am trying to put all our learning to this blog so, all the ideas will be shared.......

Monday, April 27, 2009

How to encrypt and decrypt a file by using Visual C#

Encryption and decryption

The System.Security.Cryptographic namespace in the Microsoft .NET Framework provides a variety of tools to help you with encryption and with decryption. The CryptoStream class is one of the many classes that is provided. The CryptoStream class is designed to encrypt or to decrypt content as it is streamed out to a file.

You can download working example also.

This is a basic example so, if you have any more questions please let me know.

0 comments:

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | cheap international calls