SMART statistics can be obtained from .Net via the System.Management class and WMI "MSStorageDriver_ATAPISmartData".
Here is a brief example that I created for you. Run a new console project and add a reference to the System.Management assembly, then paste this into Program.cs:
using System;
using System.Collections.Generic;
using System.Text;
using System.Management;
namespace GetSMART
{
class Program
{
static void Main(string[] args)
{
ManagementObjectSearcher searcher =
new ManagementObjectSearcher(
"root\\WMI",
"SELECT * FROM MSStorageDriver_ATAPISmartData"
);
foreach (ManagementObject item in searcher.Get())
{
foreach( PropertyData prop in item.Properties )
{
Console.WriteLine("{0} = {1}",
prop.Name, prop.Value);
}
}
Console.ReadLine();
}
}
}