什么应该是一台机器的唯一ID?它的主板ID? Windows产品ID? [英] What should be the unique ID of a machine? Its motherboard ID? Windows Product ID?

查看:3302
本文介绍了什么应该是一台机器的唯一ID?它的主板ID? Windows产品ID?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想找回一台机器的唯一标识。

I want to retrieve the unique ID of a machine.

与其他人一样我也做了很多的研究,并没有发现唯一ID生成过程的完美。

Like others I also did a lot of research, and found none of the process of Unique ID generation works perfectly.

有关主板序列号(ID):它是独一无二的;它不能被改变。但是,它可能无法在某些计算机中,如果厂家没有把信息存储位置。后来我发现它没有给唯一的ID ..大声笑

For Motherboard Serial Number (ID): It is Unique; it can't be changed. However, it may not be found in some machines if Manufacturers didn't put information on Memory Location. Then I found it gives no Unique Id .. lol

同样,对于处理器ID,BIOS ID。

Similarly for "Processor ID", "BIOS ID".

害怕使用电脑的其他硬件信息。

Afraid to use other hardware information of PC.

MAC和视窗产品ID可以通过软件来改变。

MAC and Windows Product ID can be changed by a software.

和是Windows产品ID独特?

And is "Windows Product ID" unique?

一种选择是有结合的但如果组合不是唯一的,如果上述条件的申请?

One option is there to combine those but what if combination is not unique if above conditions applied?

任何其他方式找到一台机器的唯一ID?

Any other way to find the Unique ID of a machine?

编辑:  我想基于对软件盗版保护的唯一ID生成的序列密钥。 机是指目标电脑我已经安装的软件。 @Guge:谢谢你提。

I want to generate serial key based on that unique ID for software piracy protection. Machine means target PC I've to install software. @Guge: Thanks for mentioning.

推荐答案

由于一些这些ID可能会丢失,用户可以换出你需要决定你的意思是机器的组件。

Because some of these IDs might be missing and users can swap out components you need to decide what you mean by "a machine".

例如,我想看看主板ID,处理器ID和BIOS的ID,因为这些是最有可能改变。然后,我找这三个会,并允许一个丢失和/或自上次更改。如果满足了这些条件,然后让软件运行。

For example, I'd look at motherboard id, processor id and bios id as these are the least likely to change. Then I'd look for all three and allow one to be missing and/or changed since the last time. If those conditions are met then allow the software to run.

怎么做,如果两个甚至三个丢失我不知道叫什么,因为,就像你说的,其他像MAC地址可以通过软件和硬盘ID改变可能不是唯一的,受到更频繁改变。

What you do if two or even all three are missing I don't know, because, as you say, other things like MAC address can be changed by software and hard disk ID probably isn't unique and subject to more frequent change.

这篇关于什么应该是一台机器的唯一ID?它的主板ID? Windows产品ID?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆