cmd命令查询电脑序列号_如何通过命令提示符获取硬件ID /序列号?

Eventually I'm going to be using this in Java Applet for extra security to the user. I know it's possible because I remember doing it before, I just can't remember the line that gets the correct information.

I'm searching for a line that will return the Processor ID, Serial number. Just these two are fine.

I have used google and tried a few commands like "wmic bios get serialnumber" and it doesn't return anything.

The Processor ID and Serial number should be two unique numbers or Strings.

解决方案

The BIOS serial number often is not set.

This should always give you unique hardware information with a similar command:

wmic csproduct get uuid

You could also combine this info with more information to be sure it is unique. Some examples:

wmic csproduct get uuid,name

wmic bios get name,version

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值