如何通过网络读取硬盘序列号? [英] How to read HDD Serial Number over the network?

查看:203
本文介绍了如何通过网络读取硬盘序列号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

程序A保存在计算机A中.然后,用户通过网络在计算机B上执行程序A,以读取计算机A的HDD序列号.

任何人都可以与我分享如何在VB.NET中执行此操作? :doh::doh:

Program A is saved in Computer A. Then user execute the program A at Computer B over the network to read the HDD serial number of computer A.

Anyone can share with me how to do this in VB.NET?? :doh: :doh:

推荐答案

http://www.codeproject.com/KB/cs/hard_disk_serialno.aspx

上面将向您展示如何使用Windows管理界面从计算机读取计算机A的序列号,而无需计算机A上的程序来执行此操作.

替换为."为计算机名称.
http://www.codeproject.com/KB/cs/hard_disk_serialno.aspx

the above will show you how to use Windows Management Interface to read the serial Number of computer A from computer no need for a program on computer A to do that.

Substitute the "." for the computer name.


Tiggerc,

谢谢你.

我检查了http://www.codeproject.com/KB/cs/hard_disk_serialno.aspx,发现它是用c#编写的:((<
不幸的是,我只使用VB.NET.我不知道如何将其转换为VB.NET.任何人都可以使用VB.NET来帮助我?
Hi Tiggerc,

Thank you.

I have checked http://www.codeproject.com/KB/cs/hard_disk_serialno.aspx and found that it''s written in c# :((

Unfortunately I''m only use to VB.NET. I got no idea how to convert it to VB.NET. Anyone can help me for this with the use of VB.NET??


有许多免费的在线转换服务可供使用.
只需在Google上将C#转换为VB.NET",即可找到它们.其中之一是:

http://www.developerfusion.com/tools/convert/csharp-to-vb/
There are numerous free online converting services available for this.
Just google ''convert C# to VB.NET'' and you''ll find them. One of them is:

http://www.developerfusion.com/tools/convert/csharp-to-vb/


这篇关于如何通过网络读取硬盘序列号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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