如何从.Net应用程序中获取machine.config路径?它应该根据应用程序的.Net版本自动获取正确的路径。
System.Runtime.InteropServices.RuntimeEnvironment.SystemConfigurationFile 可以提供该值。