Does anyone know how to detect if an instance of a configuration section exists in a .net configuration file without actually having to load the configuration section into memory, and without having to parse the xml file manually - ie, using the System.Configuration namespace.
I have tried using System.Configuration.ConfigurationManager.GetSection(...) but this seems to return a "defaulted" instance of the configuration section, even if it does not exist in the configuration file.