C# – How to find the Harddisk Device Serial Number without using the WMI in .NET

chard drivenetvb.netwmi

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?

Best Answer

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.