sorry me too like obi1kenobi to revive this old thread....but i am facing a prob. with the same code....i am using vb2003 my code is
i just get an output asCode:Dim query As New SelectQuery("Win32_bios") Dim search As New ManagementObjectSearcher(query) Dim info As ManagementObject Dim mSrNo As String For Each info In search.Get() Console.WriteLine("Bios SN: " & info("serialnumber").ToString()) Next
Bios SN: System Serial Number
an not the actual serial number....pls. help...i have added the ref. and the import statment..
thankx




Reply With Quote