独特的机器标识符 [英] Unique Machine Identifier

查看:168
本文介绍了独特的机器标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我知道这个问题已被多次询问,但我似乎无法找到一个好的网站,总结了vb .net中可能的方法。


我正在为我的应用程序生成一个唯一的序列号。程序

将为计算机生成一个唯一的标识符,然后我会使用他们机器特有的序列号来支持

用户。


换句话说我想查看类似的东西:

i)硬盘(不是卷)序列号

ii)CPU序列号

iii)显卡序列号(?)

(iv)我可以使用的任何其他唯一号码。


该程序将使用vb 。 net 2003(.net 1.1)并且只会在

Windows 2000和XP上运行。


我意识到可能有商业解决方案,但我我只是一个可怜的

程序员,我想省钱并自己动手。


如果有任何地方你可以指点我开始在此,

,请回复此帖。


JJ

Now I know this question has been asked many times, but I cannot seem to
find a good site which summarises the methods possible in vb .net.

I am after a way of producing a unique serial number for my app. The program
would produce a unique identifier for the computer, then I would psovide the
user with a serial number unique to their machine.

In other words I would like to check for things like:
i) Hard disk (not volume) serial number
ii) CPU serial number
iii) Video card serial number (?)
(iv) Any other unique number I could use.

The program will be using vb. net 2003 (.net 1.1) and will only be run on
Windows 2000 and XP.

I realise there may be commercial solutions out there, but I am only a poor
programmer and would like to save money and do it myself.

If there is anywhere you can point me to in order to get started on this,
please, please reply to this post.

JJ

推荐答案

好的,所以进一步阅读,似乎没有可靠的方法来获得硬件

序列号(如果我错了,请纠正我)。


一些程序员建议使用以下两种方法之一:


(a)生成一个randon数字(带校验和等),这是可以做的事情

with the日期。这将呈现给用户。用户

必须然后打电话给服务台,并给他们这个号码。服务台然后

使用解码器提供一次性使用密钥

(b)生成一个与日期和MAC相关的唯一编号/>
NIC的地址(或拨号网络使用的虚拟NIC)。使用这个

作为Luhn-Mod校验和的种子来产生一个唯一的序列号。


任何人都可以评论我是否正在向右走行呢?我想

我更喜欢选项(a),因为它看起来有点简单,可能更多

可靠......?


谢谢

JJ


" JJ" < ab*@xyz.com>在消息中写道

新闻:好的**************** @ TK2MSFTNGP09.phx.gbl ...
OK so on further reading, it seems there is no reliable way to get hardware
serial numbers (correct me if I am wrong).

Some programmers have suggested one of the two methods:

(a) generate a randon number (with a checksum etc) that is something to do
with the date. This is presented to the user. The user
MUST then call the help desk, and give them this number. The help desk then
use a decoder to provide a one time only use key
(b) generate a unique number that is something to do with the date and MAC
address of the NIC (or the virtual NIC used by dial up networking). Use this
as a seed for a Luhn-Mod checksum to produce a unique serial number.

Can anyone comment as to whether I am heading down the right lines? I think
I prefer option (a) as it seems slightly simpler and probably more
reliable...?

Thanks
JJ

"JJ" <ab*@xyz.com> wrote in message
news:OK****************@TK2MSFTNGP09.phx.gbl...
现在我知道了这个问题已被多次询问,但我似乎无法找到一个好的网站,总结了vb .net中可能的方法。

我正在寻找一种产生唯一序列号的方法为我的应用程序。
程序会为计算机生成一个唯一的标识符,然后我会用一个他们机器特有的序列号来为用户提供支持。

换句话说我想检查一下对于类似的事情:
i)硬盘(不是卷)序列号
ii)CPU序列号
iii)显卡序列号(?)
(iv)其他任何独特的我可以使用的数字。

该程序将使用vb。 net 2003(.net 1.1)并且只会在Windows 2000和XP上运行。

我意识到可能有商业解决方案,但我只是一个穷人程序员,并希望省钱并自己动手。

如果有任何地方你可以指点我,以便开始这个,
请,请回复这篇文章。

JJ
Now I know this question has been asked many times, but I cannot seem to
find a good site which summarises the methods possible in vb .net.

I am after a way of producing a unique serial number for my app. The
program would produce a unique identifier for the computer, then I would
psovide the user with a serial number unique to their machine.

In other words I would like to check for things like:
i) Hard disk (not volume) serial number
ii) CPU serial number
iii) Video card serial number (?)
(iv) Any other unique number I could use.

The program will be using vb. net 2003 (.net 1.1) and will only be run on
Windows 2000 and XP.

I realise there may be commercial solutions out there, but I am only a
poor programmer and would like to save money and do it myself.

If there is anywhere you can point me to in order to get started on this,
please, please reply to this post.

JJ






CPU'' id并不总是可用。


Windows序列号
http://www.vb-tips.com/default.aspx?...b-6d3050562a04




---------------

JJ < ab*@xyz.com>在消息中写道

新闻:好的**************** @ TK2MSFTNGP09.phx.gbl ...
Hi,

The CPU''s id is not always available.

Windows Serial Number
http://www.vb-tips.com/default.aspx?...b-6d3050562a04

Ken
---------------
"JJ" <ab*@xyz.com> wrote in message
news:OK****************@TK2MSFTNGP09.phx.gbl...
现在我知道了这个问题已被多次询问,但我似乎无法找到一个好的网站,总结了vb .net中可能的方法。

我正在寻找一种产生唯一序列号的方法为我的应用程序。
程序会为计算机生成一个唯一的标识符,然后我会用一个他们机器特有的序列号来为用户提供支持。

换句话说我想检查一下对于类似的事情:
i)硬盘(不是卷)序列号
ii)CPU序列号
iii)显卡序列号(?)
(iv)其他任何独特的我可以使用的数字。

该程序将使用vb。 net 2003(.net 1.1)并且只会在Windows 2000和XP上运行。

我意识到可能有商业解决方案,但我只是一个穷人程序员,并希望省钱并自己动手。

如果有任何地方你可以指点我,以便开始这个,
请,请回复这篇文章。

JJ
Now I know this question has been asked many times, but I cannot seem to
find a good site which summarises the methods possible in vb .net.

I am after a way of producing a unique serial number for my app. The
program would produce a unique identifier for the computer, then I would
psovide the user with a serial number unique to their machine.

In other words I would like to check for things like:
i) Hard disk (not volume) serial number
ii) CPU serial number
iii) Video card serial number (?)
(iv) Any other unique number I could use.

The program will be using vb. net 2003 (.net 1.1) and will only be run on
Windows 2000 and XP.

I realise there may be commercial solutions out there, but I am only a
poor programmer and would like to save money and do it myself.

If there is anywhere you can point me to in order to get started on this,
please, please reply to this post.

JJ



" JJ" < ab*@xyz.com> schrieb:
"JJ" <ab*@xyz.com> schrieb:
现在我知道这个问题已被多次询问,但我似乎无法找到一个好的网站,总结了vb .net中可能的方法。
程序会为计算机生成一个唯一的标识符,然后我会用一个他们机器特有的序列号来为用户提供支持。

换句话说我想检查一下对于类似的事情:
i)硬盘(不是卷)序列号
ii)CPU序列号
iii)显卡序列号(?)
(iv)其他任何独特的我可以使用的数字。
Now I know this question has been asked many times, but I cannot seem to
find a good site which summarises the methods possible in vb .net.

I am after a way of producing a unique serial number for my app. The
program would produce a unique identifier for the computer, then I would
psovide the user with a serial number unique to their machine.

In other words I would like to check for things like:
i) Hard disk (not volume) serial number
ii) CPU serial number
iii) Video card serial number (?)
(iv) Any other unique number I could use.




(v)机器的SID:


< URL:http:/ /groups.google.de/group/microsoft.public.dotnet.languages.vb/browse_frm/thread/6c2803622a6bc9d2/7a4c404486381793>


-

MS Herfried K. Wagner

MVP< URL:http://dotnet.mvps.org/>

VB< URL:http://classicvb.org/请愿/>



(v) The machine''s SID:

<URL:http://groups.google.de/group/microsoft.public.dotnet.languages.vb/browse_frm/thread/6c2803622a6bc9d2/7a4c404486381793>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


这篇关于独特的机器标识符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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