I have a common library and two executables. Each executable refers to the common library for some functionality. I would like the common library to read from the app.config of the exe which is currently running.
Is there specific API calls to do this?
You may take a look at the ConfigurationManager class:
would read the appSettings section of the
app.config/web.configof the currently executing process.