I have been wondering for a while now, what application starts do, and are, and how they work...
I assume they store data into the applications exe file? where it can not be accessed?
Cheers
Printable View
I have been wondering for a while now, what application starts do, and are, and how they work...
I assume they store data into the applications exe file? where it can not be accessed?
Cheers
Settings are stored in the config file. Application scoped settings are stored in the common config file in the same folder as the EXE. User scoped settings are stored under each user's Application Data folder. The config file is XML, and each setting is a .NET object that gets serialised to, and deserialised from, that file.
I see, are they 'visible' or encrypted? and if they are encrypted, are the easy to decrypt?
What would I use to store data in? Application.Settings, and I assume it would be classed as User Scope Data?
Cheers
The config file is XML, which is plain text. If you want to store sensitive data the Framework can encrypt sections of it for you. The encryption and decryption is done seamlessly without any intervention by you once it's implemented. Application-scoped data is read-only via My.Settings and there's one copy of the data for the entire application. User-scoped data is read/write via My.Settings and each user has their own version of the data.
Ok, thanks