> From: [email protected] [mailto:mono-list-
> [email protected]] On Behalf Of Hristo Pavlov
>
> What is the recommended way to save user settings files from Mono across
> different platforms?
>
> For example I have an XML file with settings that I want to store somewhere.
> I thought the IsolatedFileStorage would be a good place but I have
> permission problems (read and write) on both Mac OSX and Linux.

I think you'll find your best answer here:
http://clevertrove.com/SpecialFolderEnumeration/specialFolder_by_os.html

Looks like either ApplicationData or CommonApplicationData or 
LocalApplicationData or Personal

BTW, I noticed, IsolatedFileStorage isn't on the list.  I'm guessing you meant 
IsolatedStorageFile.  It looks like IsolatedStorageFile does something similar, 
including a level of security, but I don't know how much security it provides.  
I am guessing, if you actually want security, there's probably something better 
under System.Security.  But I really am just guessing.

I personally have a preference for JSON (javascriptserializer) over XML, but 
they both accomplish the same task of serialization.

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to