Getting CPU or motherboard serial number?

Forge picture Forge · Nov 18, 2010 · Viewed 7.7k times · Source

I'm trying to get the CPU serial or motherboard serial using C or Python for licensing purposes. Is it possible?

I'm using Linux.

Answer

Simone picture Simone · Nov 18, 2010

Under Linux, you could use "lshw -quiet -xml" and parse its output. You'll find plenty of system information here: cpuid, motherboard id and much more.