How do I get the path to the machine.config from a .Net application? It should automatically get the correct path based on the .Net version of the app.
+3
A:
System.Runtime.InteropServices.RuntimeEnvironment.SystemConfigurationFile should give you that value..
Gulzar
2008-10-18 00:16:07