基于Java的独特计算机ID硬件 [英] Unique computer ID hardware based in Java

查看:104
本文介绍了基于Java的独特计算机ID硬件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从一台PC生成一个唯一的代码,我的软件将通过许可证分发,在本地我需要识别环境并将此代码发送到服务器。
我不想在服务器上保留一个序列号,每个客户端收到一些序列,我试图从NetworkInterfaces读取MAC地址,但不安全,用户可以轻松更改MAC地址。
我认为最好的方法是可以读取主板的序列号,但直到现在我还没有找到方法。
任何消化?

I need to generate a unique code from a single PC, my software will be distribute by licence, and locally I need to identify the environment and send this code to the server. I don't want to mantain on the server a sequencial number and each client recieve a number of the sequence, i tried to read the MAC adress from NetworkInterfaces, but is not secure, the user can change easily the MAC adress. The best way I think if its possible to read the motherboard serial number, but I haven't found the way until now. Any sugestion?

推荐答案

你的软件价值多少?

目标市场盗版软件是否很多?

Does the target market pirate software a lot ?

使用WMI的Windows机箱上可以读取主板序列号

Motherboard serial number reading is possible on Windows boxes using WMI

使用WMI读取序列号
http://www.c-sharpcorner.com/UploadFile/GemingLeader/mb-sn-wmi08242009101325AM/mb-sn-wmi.aspx

Use WMI to read serial number http://www.c-sharpcorner.com/UploadFile/GemingLeader/mb-sn-wmi08242009101325AM/mb-sn-wmi.aspx

使用Java
中的WMI http:// henryranch .net / software / jwmi-query-windows-wmi-from-java /

WMI在AD上的Windows XP域成员上被破坏了域,如果他们使用组策略。

WMI is/was a broken on Windows XP domain members on a AD Domain, if they use group policies.

(这只影响XP的大多数企业用户,所以没什么大不了的)

( This only effects most corporate users of XP, so not a big deal)

希望这有助于位(MAC地址更简单......但很容易更改)

Hope this helps a bit ( MAC address is simpler... but is easy to change)

这篇关于基于Java的独特计算机ID硬件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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