Packages
atasmart
AtaSmart
Disk
open
check_sleep_mode
dump
get_size
identify_is_available
identify_parse
smart_get_bad
smart_get_blob
smart_get_overall
smart_get_power_cycle
smart_get_power_on
smart_get_temperature
smart_is_available
smart_parse
smart_parse_attributes
smart_read_data
smart_self_test
smart_set_blob
smart_status
Disk
Object Hierarchy:
AtaSmart.Disk
AtaSmart.Disk
AtaSmart.Disk
Description:
[
Compact
]
[
CCode
( cname =
"SkDisk"
, cprefix =
"sk_disk_"
, free_function =
"sk_disk_free"
) ]
public
class
Disk
Namespace:
AtaSmart
Package:
atasmart
Content:
Static methods:
public
static
int
open
(
string
name,
out
Disk
? disk)
Methods:
public
int
check_sleep_mode
(
out
bool
awake)
public
int
dump
()
public
int
get_size
(
out
uint64
bytes)
public
int
identify_is_available
(
out
bool
available)
public
int
identify_parse
(
out
IdentifyParsedData
* data)
public
int
smart_get_bad
(
out
uint64
sectors)
public
int
smart_get_blob
(
out
void
* blob,
out
size_t
size)
public
int
smart_get_overall
(
out
SmartOverall
overall)
public
int
smart_get_power_cycle
(
out
uint64
count)
public
int
smart_get_power_on
(
out
uint64
mseconds)
public
int
smart_get_temperature
(
out
uint64
mkelvin)
public
int
smart_is_available
(
out
bool
available)
public
int
smart_parse
(
out
SmartParsedData
* data)
public
int
smart_parse_attributes
(
SmartAttributeParseCallback
cb)
public
int
smart_read_data
()
public
int
smart_self_test
(
SmartSelfTest
test)
public
int
smart_set_blob
(
void
* blob,
size_t
size)
public
int
smart_status
(
out
bool
good)