try_read_string


Description:

protected string? try_read_string (string property)

Reads an attribute value as a string.

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.