IsolatedStorage - How to store application config for more than one user?
-
I'd like to store global application settings (for machine, not for the user). My first tought was to use IsolatedStorage with following parameters:
IsolatedStorageFile.GetStore (IsolatedStorageScope.Machine | IsolatedStorageScope.Domain | IsolatedStorageScope.Application, null, null);
But 1. I can't get proper application identity to work. So how can I assure, that it will be shared between different application versions? 2. I have changed Application to Assembly for test purposes, but configuration wasn't shared between users :wtf: How do you store sensitive infos for the application? Is the registry the only place to share this data? H. -
I'd like to store global application settings (for machine, not for the user). My first tought was to use IsolatedStorage with following parameters:
IsolatedStorageFile.GetStore (IsolatedStorageScope.Machine | IsolatedStorageScope.Domain | IsolatedStorageScope.Application, null, null);
But 1. I can't get proper application identity to work. So how can I assure, that it will be shared between different application versions? 2. I have changed Application to Assembly for test purposes, but configuration wasn't shared between users :wtf: How do you store sensitive infos for the application? Is the registry the only place to share this data? H.I typically use
Application.CommonAppDataPath
to store the global configuration files.Regards, Tim