I asked a somewhat related question but I want it to make it more concrete and ‘programming’ oriented, so here it goes:
Does any body know, if there is a .NET, JAVA or any other Framework, library, .jar file or what ever: to access S.M.A.R.T. Statistics?
Thanks!
You can get SMART statistics from .Net via the System.Management and WMI class ‘MSStorageDriver_ATAPISmartData’.
Here is a short example that I created for you. Start a new console project and add a reference to the System.Management assembly, then paste this into Program.cs: