title: Listing ODBC Data Sources in C#
body: <p>I'm looking for a properly abstract way to get a list of ODBC data sources from the system in C#. I've tried the "Poking-around-in-the-registry" trick, which I've found works fine in English:</p>
  
  <pre><code>        RegistryKey reg = (Registry.CurrentUser).OpenSubKey("Software");
          reg = reg.OpenSubKey("ODBC");
          reg = reg.OpenSubKey("ODBC.INI");
          reg = reg.OpenSubKey("ODBC Data Sources");
  
          and then, of course, iterating over reg.GetValueNames()
  </code></pre>
  
  <p>Only problem is that I've discovered on at least one Spanish machine that their Registry keys are, well, in Spanish, so clearly violating this abstraction (if it exists) has already gotten me into trouble.</p>
  
  <p>Is there a library function to do this?</p>