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?
C# – How to find the Harddisk Device Serial Number without using the WMI in .NET
chard drivenetvb.netwmi
Related Topic
- C# – How to get the application’s path in a .NET console application
- C# – How to get the assembly file version
- C# – How to remedy “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning
- C# – JavaScriptSerializer – JSON serialization of enum as string
- C# – Try-catch speeding up the code
- C# – WMI HDD Serial Number Transposed
- C# – Error – Unable to access the IIS metabase
- Scala: list.flatten: no implicit argument matching parameter type (Any) = > Iterable[Any] was found
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.