C
cartooncat
I want to get motherboard serial number to protect copyright in my software.
But I don't know how to do.
I got some code from Internet:
Imports System.Management
Dim searcher As New ManagementObjectSearcher("SELECT * FROM
Win32_BaseBoard")
Dim share As ManagementObject
For Each share In searcher.Get()
Debug.WriteLine("manufacturer:" & share("Manufacturer"))
Debug.WriteLine("Product:" & share("Product"))
Debug.WriteLine("SerialNumber:" & share("SerialNumber"))
Next share
but it only return "Product" item, the other two is null.
How can I get unique MotherBoard Serial Number?
Waiting help.....!!!!
But I don't know how to do.
I got some code from Internet:
Imports System.Management
Dim searcher As New ManagementObjectSearcher("SELECT * FROM
Win32_BaseBoard")
Dim share As ManagementObject
For Each share In searcher.Get()
Debug.WriteLine("manufacturer:" & share("Manufacturer"))
Debug.WriteLine("Product:" & share("Product"))
Debug.WriteLine("SerialNumber:" & share("SerialNumber"))
Next share
but it only return "Product" item, the other two is null.
How can I get unique MotherBoard Serial Number?
Waiting help.....!!!!