Get hardware information (CPU ID, motherboard serial number)

Hello,

I’m searching for a way to get some hardware information - processor ID and motherboard serial number.
I’ve been doing that in .NET through System.Management but this is not supported in Unity. I tried building the .NET class library and imported it in Unity using the .dll but it’s not working.

I’m familiar with SystemInfo.deviceUniqueIdentifier and it would work fine without the Win32_DiskDrive::SerialNumber and Win32_OperatingSystem::SerialNumber but I don’t want the unique ID to change over some trivial PC upgrade or OS update.

Is there any way of obtaining the Processor ID and motherboard serial number in Unity?

Thank you
Best regards

Same. CPU, motherboard, and BIOS serials stay the same, but the drive (most likely part to change) changes and now it’s a whole new “device”??? Maybe we’re okay for 5 years on the OS, as there’s not suposed to be service packs anymore… but that’s just an educated guess. Who knows how MS may change the version# on an update?

1 Like