请教一下 Windows 机器码的问题

12次阅读

共计 297 个字符,预计需要花费 1 分钟才能阅读完成。

我用的 这个方式生成的机器码

def get_machine_code():
    # 获取机器码
    try:
        # 使用 wmic 命令获取硬件信息
        result = (subprocess.check_output("wmic csproduct get uuid", shell=True)
            .decode()
            .split("n")[1]
            .strip())
        return result
    except Exception as e:
        print(f"Error: {e}")
        return None

我发现有好几个人生成出来的都是 0300200-0400-0500-0006-000700080009 这种纯数字是为什么呀
Windows 有能保证唯一性的机器码呢

正文完
 0