try_read_int


Description:

protected int? try_read_int (string property)

Reads an attribute value as an int.

Parameters:

property

The name of the sysfs attribute to write to.

Returns:

The value that was read or null if there was an error while reading.