[Mono-devel-list] Storing user configuration

Jonathan Pryor jonpryor at vt.edu
Mon Nov 22 08:52:06 EST 2004

On Sat, 2004-11-20 at 19:47 +0100, Mads Lindstrøm wrote:
> I want my application to be able to store user configuration options.
> This could be done in a file or maybe using something like GConf.
> However, I want it to be done in a platform independent way. How is this
> done best?

Use System.IO.IsolatedStorage.  This permits access to a
System.IO.Stream object within the user's home directory, and works
across Mono, Portable.NET, and .NET.  From the stream, you can store
binary data, XML, plain text, or whatever other preferences scheme you'd

 - Jon

More information about the Mono-devel-list mailing list