How can I find the Harddisk Device Serial Number without using the WMI in .NET?

后端 未结 6 1631
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-11 20:22

I want to get the hardwired serial number from the hard disk but NOT using WMI. I tried using WMI code, and it doesn\'t work on my machine for sure. So is there any alternat

6条回答
  •  攒了一身酷
    2020-12-11 21:09

    A perfectly working solution can be found here:

    http://www.codeproject.com/Articles/16941/Get-Physical-HDD-Serial-Number-without-WMI

    [edit] Sorry, missed that a reference to this has already been submitted.

提交回复
热议问题