Commands for obtaining host serial number on major system platforms
Windows
wmic bios get serialnumber
This is the HP 840G3, and the host serial number is directly obtained through commands
Mac OS X
ioreg -l | grep IOPlatformSerialNumber
Linux
sudo dmidecode -t 1 | grep Serial
This is a Lenovo X260, and the host serial number is directly obtained through commands