[Mono-devel-list] Java Properties or other way to store configuration

Jackson Harper jackson at ximian.com
Tue Jul 27 11:37:21 EDT 2004


On Mon, 2004-07-26 at 15:01, Leon Stringer wrote:
> Hi,
> 
> Is there a good/easy/recommended way to store and retrieve configuration 
> settings from a Mono C# program on GNU/Linux?

  Check out configuration files:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfNETFrameworkConfigurationFileSchema.asp

  and more specifically the appSettings element of the configuration
files:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfappsettingselement.asp

Jackson


> I used to be a big user of Java's java.util.Properties to hold 
> attrib/value pairs for my program which could then be written to disk 
> for persistant settings.
> 
> Is there a way to do something similar with Mono? (E.g. for global 
> settings in /etc/xxx.conf and user settings in ~/.xxx).
> 
> Thanks in advance,
> 
> Leon...
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list