Saving multiple arrays and variables to encrypted file?
I'm looking to be able to save and load the content from multiple structured arrays and variables into/from an encrypted file, is there any reliable source of information or tutorial that I'd be able to use for this? I've never written a program in visual basic that writes to/reads from a file.
Re: Saving multiple arrays and variables to encrypted file?
just do a search for StreamReader & StreamWriter ...
there are 100's of examples using these to read and write files...
Encryption is something that you will have to handle yourself, however there are a few Encryption objects in VS.. Search for Security.Cryptography to find a few samples...
Re: Saving multiple arrays and variables to encrypted file?
This is a tough program to start your VB.NET programming career off with....
This is actually called persistence. You need to have a dataobject that implements the ISerializable interface, besides that, you then have to make it serializable.
Search for array persistnece or object persistence in google.
With Encryption, well, I use the Rijndael method quite often with great success, so maybe a search for that in google may also help you a lot
Bookmarks