How to obtain hardware unique information through nodejs?

use nodejs plug-in getmac to try to obtain the device mac address for unique judgment, but a large number of iMac devices (install windows system) will have the mac address change, about 100 devices have a probability of about 5, I really do not know what other hardware information besides the mac address can indicate the uniqueness of the current device?

ask whether you have a suitable plug-in or method

Mar.09,2021

mac address is based on your network card. If your network card will not change, then mac address will not change

but generally some computers have several network cards, so you can get all the mac and then sort them in a certain order, then take the value of md5 as the unique address

.

is the boss problem solved?

Menu