Hi I have this constraint. A help would be greatly apprecitated.
I have this Config file.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="ITASCA">
<section name="ConnectionString"
type="System.NamevaluesectionHandler,System" />
</sectionGroup>
</configSections>
<ITASCA>
<ConnectionString>
<add key="projcode1" value="database"/>
<add key="projcode2" value="database2"/>
</ConnectionString>
</ITASCA>
I use VB.NET to read this section
I want to use DPAPI with Machine store. For this I have to read the
connection string from config file as name value pair, Then encrypt the
connection string & want to replace back the encrypted string into the
same section of config file.
I have a issue in writing into the same section. Couple somebody please
help me with writing as name value pair, as a attribute into the
section.
I used configuration management application block from microsoft to
write. But then I was unable to write as an attribute to a element in a
node.
A help would be greatly apprecitated.
Thanking you
Shaun
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!