Reading \ writing to external app.config files

I need to read keys from several external .config files of applications, can I specify a file for AppSettingsReader?

+4
source share
1 answer

I'm sure this is not possible, but these are just XML files, so it’s pretty simple to do this using standard XML classes.

If you haven't used the XML classes yet, here is an example you can get started: Read the .NET.Config file as an XML document to get the version of the Runtime application

+2
source

All Articles