I know a bit of C++ and Java, but am wanting to learn c# on my own. To mess with, I\'m trying to read the SMART data of my hard drive. I have this C# Code, but I do not know
Note that not all SMART HDD info can be obtained from a single WMI query.
You need to query all the following to determine the current value, worst value, threshold, drive status and attribute status:
For a comprehensive solution in C#/WMI detailing all relevant SMART HDD info see this solution http://www.know24.net/blog/C+WMI+HDD+SMART+Information.aspx (please note: I own this development blog)