Getting a unique hardware ID with Python

后端 未结 5 1456
野的像风
野的像风 2020-12-16 04:45

I have a process that requires me to identify different machines, and I\'m not sure what\'s the best way to do it. I do not want to save that ID on a text file or something,

5条回答
  •  攒了一身酷
    2020-12-16 05:14

    For windows this seems to get same uuid every time por each device based on the MAC address:

    str(uuid.uuid1(uuid.getnode(),0))[24:]

    But it does not seem to keep same ID on Android 4.4.2.

提交回复
热议问题