I need to build in a call in my app to check SSD health status.
I've tried multiple examples from different sources but cannot get anything to work. In all examples I've tried I get the "Not supported" exception in ManagementObjectSearcher
query or foreach (ManagementObject data in searcher.Get())
loop
All the examples I've found are pretty outdated so did anything change? I'm running Windows 10 with .NET 4.6.2. You'd think there would be a "modern" call to access SMART data. Any help would be greatly appreciated! Thank you!