title: gives error of "The method or operation is not implemented" while getting HDD serial number
body: <p>I am trying to get the HDD serial number with below code...</p>
  
  <pre><code>Imports System.IO
  Imports System.Management
  
  
  
      Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
          HDDCheck()
      End Sub
  
      Private Sub HDDCheck()
              Try
                  Dim HDD_Serial As String
                   Dim hdd As New ManagementObjectSearcher("select * from Win32_DiskDrive")
                  For Each hd In hdd.Get
                      HDD_Serial = hd("SerialNumber")
                      If Not "20202020202020200332043354132314a5341" = HDD_Serial Then
                         Me.Close()
                      Else
                          Exit For
                      End If
                  Next
  
              Catch ex As Exception
  
              End Try
          End Sub
  </code></pre>
  
  <p>but I am getting below error... </p>
  
  <blockquote>
    <p>System.NotImplementedException was caught   Message=The method or
    operation is not implemented.</p>
  </blockquote>
  
  <p>Same code runs on same machine on my previous applications , 
  but this is new application I have written, this gives me an error... </p>
  
  <p>What I am missing ? </p>