串口号硬盘或硬盘......使用C# [英] Serial no of Hard Disk or Hard Drive….using C#

查看:100
本文介绍了串口号硬盘或硬盘......使用C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,



起初看起来这可能是一个非常简单的问题,有些机构可能会试图给我建议去试试谷歌... ..可能是......



但对我而言,我很难尝试谷歌并且找不到任何好的解决方案......

应该怎样是... ..

只想得到硬盘或硬盘的序列号......使用C#

请仔细阅读,硬盘序列号,但不是硬盘卷序列号(例如C,D,E..etc)。



获取串口没有硬盘的数量我在网上找到了解决方案并且工作得很好但是问题在于获取硬盘序列号.........

有些机构可能会尝试将此问题作为可能的副本下面的问题或者可能会建议该问题的链接......但是它不是



并且下面没有任何问题为C#中的这个问题提供了很好的解决方案....

1. http://stackoverflow.com/questions/4559700/how-to-get-hard-disk-serialnumber-in-c -no-wmi

2. http://stackoverflow.com/questions/3139276/how-to-retrieve-hdd-firmware-serial-number-in-net

3. http://stackoverflow.com/questions/677251/hdd-serial-number

一篇文章(在C#中)链接,它给出了除序列号之外的所有参数...

如何检索REAL硬盘序列号

您可以阅读下面那篇文章的讨论以符合.........

Hello friends,

At first it may seems it is very easy question and some body may be trying to give me advice to try Google…..it may be…….

But for me it is very hard I have try Google and can’t find any good solution…
What should be is…..
Just want to get Serial no of Hard Disk or Hard Drive….using C#
Please read carefully, serial no of Hard Disk, But not Serial no of Volume of Hard Disk (e.g. C, D, E..etc).

For getting serial no of volume of hard disk I have found solution on net and its work well but problem is with Getting serial no of Hard Disk………
Some body may trying to make this question as possible copy of Below question or may suggest link of that question….But it is not

And not any below question provide good solution for this problem in C#....
1. http://stackoverflow.com/questions/4559700/how-to-get-hard-disk-serialnumber-in-c-no-wmi
2. http://stackoverflow.com/questions/3139276/how-to-retrieve-hdd-firmware-serial-number-in-net
3. http://stackoverflow.com/questions/677251/hdd-serial-number
One article (in C#) at link, it gives every parameter nicely other than serial no…
How to Retrieve the REAL Hard Drive Serial Number
You can read discussion at below that article to conform………

推荐答案

此链接仅供您使用



如何 检索REAL硬盘驱动器序列号 [ ^ ]
This link is for you only

How to Retrieve the REAL Hard Drive Serial Number[^]


查看此链接



http://stackoverflow.com/questions/4084402/get-hard-disk-serial-number [ ^ ]


或看看这篇文章关于WMI,它提供了很多信息,包括硬盘串行。

如何获取硬件信息(CPU ID,主板信息,硬盘串行,系统信息......) [ ^ ]



祝你好运!
Or have a look at this article about WMI that gives you a lot of info including the harddisk serial.
How To Get Hardware Information (CPU ID, MainBoard Info, Hard Disk Serial, System Information , ...)[^]

Good luck!


这篇关于串口号硬盘或硬盘......使用C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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