You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can i get smart attributes values?
my computer params:
Computer computer = new Computer
{
IsCpuEnabled = true,
IsGpuEnabled = true,
IsMemoryEnabled = true,
IsMotherboardEnabled = true,
IsControllerEnabled = true,
IsNetworkEnabled = true,
IsStorageEnabled = true,
IsPsuEnabled = true,
};
in output i can get only smart attributes names and id, but no values
"Smart": {
"IsValid": true
},
"SmartAttributes": [
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": false,
"Id": 5,
"Name": "Reallocated Sectors Count",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 9,
"Name": "Power-On Hours (POH)",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 12,
"Name": "Power Cycle Count",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 175,
"Name": "Program Fail Count (Chip)",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 176,
"Name": "Erase Fail Count (Chip)",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 177,
"Name": "Wear Leveling Count",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 178,
"Name": "Used Reserved Block Count (Chip)",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 179,
"Name": "Used Reserved Block Count (Total)",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": false,
"Id": 180,
"Name": "Remaining Life",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": "Remaining Life",
"SensorType": 10
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 181,
"Name": "Program Fail Count (Total)",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 182,
"Name": "Erase Fail Count (Total)",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 183,
"Name": "Runtime Bad Block Total",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 187,
"Name": "Uncorrectable Error Count",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 190,
"Name": "Temperature",
"ParameterDescriptions": [
{
"Name": "Offset [°C]",
"Description": "Temperature offset of the thermal sensor. Temperature = Value + Offset.",
"DefaultValue": 0.0
}
],
"SensorChannel": 0,
"SensorName": "Temperature",
"SensorType": 4
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": false,
"Id": 194,
"Name": "Airflow Temperature",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": false,
"Id": 195,
"Name": "ECC Rate",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 198,
"Name": "Off-Line Uncorrectable Error Count",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 199,
"Name": "CRC Error Count",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": false,
"Id": 201,
"Name": "Supercap Status",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": false,
"Id": 202,
"Name": "Exception Mode Status",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": false,
"Id": 235,
"Name": "Power Recovery Count",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": null,
"SensorType": null
},
{
"DefaultHiddenSensor": false,
"HasRawValueConversion": true,
"Id": 241,
"Name": "Total LBAs Written",
"ParameterDescriptions": null,
"SensorChannel": 0,
"SensorName": "Total Bytes Written",
"SensorType": 12
}
],
Beta Was this translation helpful? Give feedback.
All reactions