MatthewKing / DeviceId

A simple library providing functionality to generate a 'device ID' that can be used to uniquely identify a computer.
MIT License
722 stars 118 forks source link

AddCpuInfo always return new id #72

Open matihuf opened 10 months ago

matihuf commented 10 months ago

Hi,

Method AddCpuInfo for linux is reading /proc/cpuinfo and using FileContentsDeviceIdComponent for getting cpu id.

First command run cpuinfo

Second command run cpuinfo2

Please take a look at cpu MHz field, is changing depending on cpu usage.