aewarnick Posted February 23, 2003 Posted February 23, 2003 How can I encrypt my text files easily with my program so that they can only be read by the program? Or better yet, entire directories? Quote C#
*Experts* Bucky Posted February 23, 2003 *Experts* Posted February 23, 2003 Check out the help files for the classes within the System.Security.Cryptography namespace; there are multifarious samples for all the different types of encryption. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
aewarnick Posted February 23, 2003 Author Posted February 23, 2003 Most everything I saw was web stuff and the one I found that could be used to encrypt my text files needed NT to work. Is there anything else? Quote C#
*Experts* Bucky Posted February 23, 2003 *Experts* Posted February 23, 2003 Any cryptography class that is in the .NET framework is supported by any OS that has the framework installed on it, and this includes Windows 98, ME, 2000, XP, and NT. Here is an example for ASP.NET, but it works the same for any .NET framework application, including Windows Forms apps: http://samples.gotdotnet.com/quickstart/aspplus/default.aspx?url=%2fquickstart%2fhowto%2fdoc%2ffileencrypt.aspx Here is a page in the help collection that deals with cryptography: [mshelp]ms-help://MS.VSCC/MS.MSDNVS/Cpqstart/html/cpsmpnetsamples-howtocryptography.htm#cpsmpfileencryptsample[/mshelp] Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
aewarnick Posted February 23, 2003 Author Posted February 23, 2003 Ok. Then I'll just use DES Encryption. Quote C#
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.