Retrieve health information e.g. SMART, remaining live, reallocated sectors etc for all types of HDD, SSD, NvME etc
Darren Rose
261
Reputation points
Any suggestions on reliable solutions to retrieve health information e.g. SMART, remaining live, reallocated sectors etc for all types of HDD, SSD, NvME etc
Tried smartmontools but doesn't work for a lot of NvME drives as get "IOCTL_STORAGE_QUERY_PROPERTY(NVMe) failed, Error=1" error
CrystalDiskInfo seems to work better, but source is in C++ I believe and I am looking for a way to do this from a VB or C# app.
Also tried WMI but doesn't seem to contain much useful info for new drives.
Any thoughts please?
Sign in to answer