N
nojo\(k\)e via DotNetMonster.com
Hi,
is there a class in .NET to read sections (maybe groups as well) defined in
the <configsections> itself ?
One way is to open the file with XMLReader, but there ought to be a more
simple one?
I need to store configuration data for a variable count of serial ports
accessed by my program, so the idea is something like
<configSections>
<section name="port1" type="System.Configuration.
NameValueSectionHandler" />
<section name="port2" type="System.Configuration.
NameValueSectionHandler" />
..... maybe more section definitions .....
</configSections>
<port1>
....
</port1>
<port2>
....
</port2>
...... maybe more sections....
Thanks in advance,
nojo(k)e
is there a class in .NET to read sections (maybe groups as well) defined in
the <configsections> itself ?
One way is to open the file with XMLReader, but there ought to be a more
simple one?
I need to store configuration data for a variable count of serial ports
accessed by my program, so the idea is something like
<configSections>
<section name="port1" type="System.Configuration.
NameValueSectionHandler" />
<section name="port2" type="System.Configuration.
NameValueSectionHandler" />
..... maybe more section definitions .....
</configSections>
<port1>
....
</port1>
<port2>
....
</port2>
...... maybe more sections....
Thanks in advance,
nojo(k)e