G
Guest
I have forgotten how to write that simple thing:
I have app.exe.config file with my custom section where I initialize a
variable used then in application. User can chande a value of this variable
so I would like to save it in the app.exe.config file. when user starts the
application next time , the vatriable should initialize with lately saved
value
How to do that? Thanks
App.exe.config example:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="UMA.NET"
type="System.Configuration.SingleTagSectionHandler" />
</configSections>
<UMA.NET func="3" B1Hi="0" B1Lo="0" B2Hi="0" B2Lo="31" CRC1="0" CRC2="0" />
</configuration>
I have app.exe.config file with my custom section where I initialize a
variable used then in application. User can chande a value of this variable
so I would like to save it in the app.exe.config file. when user starts the
application next time , the vatriable should initialize with lately saved
value
How to do that? Thanks
App.exe.config example:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="UMA.NET"
type="System.Configuration.SingleTagSectionHandler" />
</configSections>
<UMA.NET func="3" B1Hi="0" B1Lo="0" B2Hi="0" B2Lo="31" CRC1="0" CRC2="0" />
</configuration>