[Mono-list] Re: What's the easiest way to...
Robert Jordan
robertj at gmx.net
Fri Dec 2 09:27:12 EST 2005
Salvatore,
> ...store application settings ?
string folder =
Environment.GetFolderPath(Environment.SpecialFolder.Personal);
If you want to differenciate between data suitable for roaming
and local machine data:
Environment.SpecialFolder.ApplicationData
Environment.SpecialFolder.LocalApplicationData
Robert
> The problems to solve are:
>
> 1. Cross platform-application means:
> - no Gconf (Gnome)
> - no .configfiles in the home directory (*nix)
> - no registry (Win*)
>
> 2. INI.style files (name=value) or XML file ?
>
> 3. Where to save this file ? App Install folder or sys config folder (/etc/ or
> C:/WINNT/SYSTEM)
>
> 4. Related to previous problem, what about permissions ??!!
>
> Any suggestion ?
>
> In my opinion the best way is to save an XML file in the user home folder as an
> hidden file (for Unix users) and in the app. installation folder for Windows
> Users. What do you think about this solution ?
>
> Tnx
>
> Sas
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
More information about the Mono-list
mailing list