独特的计算机 ID(如指纹)
是否有任何独特的计算机ID可以将计算机与其他计算机区分开来,就像人类的指纹一样? 如果是的话,请告知如何在vb.net中获取它。
Is there any unique computer ID that distinguishes a computer from other, like finger prints for human?
If yes, please advise how to get it in vb.net.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
可以将信息放在一起来唯一地标识一台机器。许多软件供应商已经这样做了,最著名的是 Microsoft 激活服务通过采样来完成此操作系统上的各种硬件。这种方法的问题是不能保证标识符是持久的。
我的意思是:
如需进一步参考,请尝试以下链接:
请记住:您用来组装标识符的参考点越多,它在某个时间点发生变化的可能性就越大。
It is possible to put together info to uniquely identify a machine. This has already been done by many software vendors, most notably the Microsoft Activation service does it by sampling various bits of hardware on your system. The problem with this approach is that the identifier is not guaranteed to be persistent.
What i mean by this is:
For further reference, try these links:
Just remember: the more points of reference you use to assemble your identifier, the greater the chance it may change at some point in time.
尝试获取 MAC + CPU ID + 主板序列号。如果您将这些连接起来,那么它就是您该机器的唯一指纹,直到发生硬件更改。
Try getting MAC + CPU ID + Motherboard serial. If you concatenate these then its you unique finger print of that machine until hardware changes occur.
请记住,如今许多人都在使用双操作系统(例如 VirtualBox),并且 MAC 会有所不同。即使交换网络连接(以太网硬线与 WiFi)也会改变 MAC。我想说MAC并不是一个很好的识别参考。
Bear in mind, many people these days are working with dual operating systems (eg VirtualBox) and the MAC will be different. Even swapping network connectivity (ethernet hardwire vs wifi) will change the MAC. I would say MAC is not a good reference for identification.
嗯,可以通过多种方式来完成。
您可以尝试获取有关计算机的所有类型的数据,然后将其哈希为可识别它的字符串。例如,驱动器数量、处理器数量、用户名、注册表中的某些键。
但您必须确保您获取的所有数据都是通常不会更改的数据。
Well it can be done in many ways.
You can try to get all kind of data about the computer, and then hash it to a string that will identify it. For example, number of drives, number of processors, the user's name, some keys in the registry.
But you have to make sure all the data you take is data that doesn't usually change.