title: Get hardware manufacturer and system model number in VB.net?
body: <p>I'm trying to get the hardware manufacturer (e.g. "Dell") and the model number (e.g. "Latitude E6320") using vb.net but I'm having no luck.</p>
  
  <p>I've tried</p>
  
  <pre><code>Dim opSearch As New ManagementObjectSearcher("SELECT * FROM Win32_OperatingSystem")
  Dim opInfo As ManagementObject
  For Each opInfo In opSearch.Get()
      Return opInfo("manufacturer").ToString()
  Next
  </code></pre>
  
  <p>Though this returns "Microsoft Corporation" not "Dell".</p>