How do I dynamically reload the app.config in a .net Windows application? I need to turn logging on and off dynamically and not just based upon the value at application sta
You can refresh your own section the way you say:
ConfigurationManager.RefreshSection("yoursection/subsection");
Just move a logging true/false into a section and you'll be fine.