title: For certain registry path/key, I'm not getting data
body: <p>I am using below code and for <code>SOFTWARE\\Intel\\Bluetooth\\Metrics</code> and <code>Version</code> I'm NOT getting data. What's the reason?</p>
  
  <p><a href="https://i.stack.imgur.com/pRA9s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pRA9s.png" alt="enter image description here"></a></p>
  
  <pre><code> ConnectionOptions oConn = new ConnectionOptions();
              ManagementScope scope = new ManagementScope("\\\\.\\root\\default", oConn);
  
              scope.Connect();
              ManagementClass registry = new ManagementClass(scope, new ManagementPath("StdRegProv"), null);
              ManagementBaseObject inParams = registry.GetMethodParameters("GetStringValue");
              inParams["sSubKeyName"] = "SOFTWARE\\Intel\\Bluetooth\\Metrics";
              inParams["hDefKey"] = 0x80000002;
              inParams["sValueName"] = "Version";
  
  
              ManagementBaseObject outParams = registry.InvokeMethod("GetStringValue", inParams, null);
  
              if (outParams.Properties["sValue"].Value != null)
              {
                  Console.WriteLine( outParams.Properties["sValue"].Value.ToString());
              }
  </code></pre>
  
  <p><strong>Note -</strong> With above code for <code>SOFTWARE\\ASIO\\Realtek ASIO</code> and <code>Description</code>, I am getting data. Why certain registry path/key NOT works? </p>
  
  <p><a href="https://i.stack.imgur.com/YtjmR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YtjmR.png" alt="enter image description here"></a></p>
  
  <pre><code>inParams["sSubKeyName"] = "SOFTWARE\\ASIO\\Realtek ASIO";
              inParams["hDefKey"] = 0x80000002;
              inParams["sValueName"] = "Description";
  </code></pre>