Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.57 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.57 KB

Windows-SMARTQuery

Get S.M.A.R.T Information for the SATA/NVMe/USB drive.


This sample code demonstrates how to get the disk information of the solid state drives (SSD) in Windows, include identify information(model name, firmeare version and serial number, etc.) and S.M.A.R.T information(temperature, erase count and power-on hours, etc.). Supports SATA, USB and NVMe interface devices.

Note: This project needs to be executed as administrator

Environment

  • .NET framework 4.0 or higher

Development Tool

  • Microsoft Visual Studio 2017 above

Usage

1.Select the interface of the device which you want to get information SelectInterface

2.The combobox will show all the storage device which match selected interface ComboboxList

ComboboxList
(Also support RAID0/RAID1 devices)

3.Select the storage device you want to get information SelectDevice

4.Use tab control to switch identify information and S.M.A.R.T information ID SMART