title: How to use Microsoft.Win32.Registry.OpenSubKey to go directly to a particular key?
body: <p>Now this is a simple question. It should be clearly documented in MSDN. I looked but I couldn't find it. The only thing I got was that I had to open subkey after subkey after subkey to get to the particular key I'm interested in.</p>
  
  <p>Surely there is a more direct method to access a key 3 levels deep. What is it?</p>
  
  <p>I've already tried</p>
  
  <pre><code>RegistryKey reg = Registry.LocalMachine;
  reg.OpenSubKey(@"Software\Microsoft", true);  // reg is still HKLM !
  </code></pre>
  
  <p>and</p>
  
  <pre><code>reg.OpenSubKey(@"Software\Microsoft\", true); // reg is still HKLM !
  </code></pre>