I am trying to retrieve some information from a .config file. I need to search for specific tags and get the attributes in those tags. For example in application tag i need to get the attribute path. I don’t need any other information from the .config file. I was just going through XmlTextReader but then realised i need a config file and don’t know if it is the right way.
Share
I found
Using the File attribute of the appSettings element of a .NET config fileAnd you must read this great article about
using configuration file in .NETAlso found Read config file using XMl reader