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

Jey Geethan picture Jey Geethan · Jul 24, 2009 · Viewed 12.1k times · Source

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 alternative in .NET for finding the Serial Number of a physical hard disk?

Answer

Espo picture Espo · Jul 24, 2009

This should help get started:

How to get Physical HDD serial number without WMI

Regarding your problem with WMI not returning data; Are you sure how to the right privileges to get data from WMI? You can use WMI Tools to check/fix this.