BSD uses /etc/hostid and smbios.system.uuid as a fallback Linux uses /var/lib/dbus/machine-id /etc/machine-id OS X uses IOPlatformUUID Windows uses the MachineGuid from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography
获取macthine id的方法第三方模块原理第三方模块https://github.com/denisbrodbeck/machineid原理BSD uses /etc/hostid and smbios.system.uuid as a fallbackLinux uses /var/lib/dbus/machine-id /etc/machine-idOS X uses IO...