Try this
AppDomain.CurrentDomain.SetupInformation.ConfigurationFile
More Related Contents:
- What is App.config in C#.NET? How to use it?
- Change default app.config at runtime
- Equivalent to ‘app.config’ for a library (DLL)
- Relocating app.config file to a custom path
- AppSettings get value from .config file
- Use XML includes or config references in app.config to include other config files’ settings
- Can a unit test project load the target application’s app.config file?
- What’s the difference between the WebConfigurationManager and the ConfigurationManager?
- ConfigurationManager.AppSettings – How to modify and save?
- C# – Asserting two objects are equal in unit tests
- Update app.config system.net setting at runtime
- NUnit Test Run Order
- Unit test for thread safe-ness?
- Consume a SOAP web service without relying on the app.config
- How to enable configSource attribute for Custom Configuration Section in .NET?
- Changing App.config at Runtime
- Read from App.config in a Class Library project
- How to modify my App.exe.config keys at runtime?
- Auto-width of ComboBox’s content
- Is there a tool that generates P/Invoke signatures for arbitrary unmanaged DLL?
- Uploading image in ASP.NET MVC
- The ObjectContext instance has been disposed and can no longer be used for operations that require a connection [duplicate]
- When should one use Environment.Exit to terminate a console application?
- How to get the screenshot of the form
- Automatically making Base Constructors available in derived class?
- Could not load file or assembly ‘MySql.Data, Version=6.2.2.0
- Debugging failing HTTPS WebRequest
- regex to split line (csv file)
- Web Service without adding a reference?
- Why can’t I do foreach (var Item in DataTable.Rows)?