|
-
Apr 3rd, 2008, 10:42 PM
#1
Thread Starter
Frenzied Member
[2008] Application Settings
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
Last edited by Icyculyr; Apr 3rd, 2008 at 11:50 PM.
-
Apr 3rd, 2008, 10:47 PM
#2
Re: [2008] Application Settings
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.
-
Apr 3rd, 2008, 10:51 PM
#3
Thread Starter
Frenzied Member
Re: [2008] Application Settings
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
-
Apr 3rd, 2008, 11:39 PM
#4
Re: [2008] Application Settings
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.
-
Apr 3rd, 2008, 11:49 PM
#5
Thread Starter
Frenzied Member
Re: [2008] Application Settings
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|