C# – How to retrieve HDD Firmware Serial number in .net

cnetvb.net

How can I retrieve HDD Firmware Serial number in .net? I am able to retrieve HDD Serial number using WMI calls but not able to find any way to retrieve HDD Firmware Serial number.

Thanx in advance

Best Answer

Use WMI. SImply as that - this is a low level function that no "sane" higher level API will support (it is useless to read or write files). WMI is made exactly for that - managing the lower levels.