title: Pulling Hardware Serial Number via Visual Basic?
body: <p>I am writing an application in Visual Basic that pulls basic information about the computer and outputs the data onto a form. Currently, I am trying to pull the serial number for the machine I would be using. For example, pulling a serial number of a laptop from the BIOS. I have looked around the internet and haven't really found how to do this in Visual Basic without using WMI or C. Is there a way to do this in Visual Basic?</p>
  
  <p>Below is what I have currently in the form, so you can get an idea of what I am trying to do:</p>
  
  <pre><code>        TextBoxComputerName.Text = Environment.MachineName
          TextBoxOSVersion.Text = System.Environment.OSVersion.ToString
          TextBoxOSFullName.Text = My.Computer.Info.OSFullName
          TextBoxCurrentUser.Text = System.Environment.UserName
          TextBox64Bit.Text = System.Environment.Is64BitOperatingSystem
          TextBoxSystemDirectory.Text = System.Environment.SystemDirectory
          TextBoxDomain.Text = System.Environment.UserDomainName
          ' CHECK SERIAL NUMBER HERE.
  </code></pre>
  
  <p>Thank you all so much!</p>