by Holden (2 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 18th April 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
How to retrieve a computer's motherboard serial number
API Declarations
'Put 'Microsoft WMI Scripting Library' to references
Dim obj
Dim WMI
Set WMI = GetObject("WinMgmts:")
Set objs = WMI.InstancesOf("Win32_BaseBoard")
For Each obj In objs
MsgBox obj.SerialNumber
Next