Method

FwupdPluginHwidsget_value

Declaration [src]

const gchar*
fu_hwids_get_value (
  FuHwids* self,
  const gchar* key
)

Description [src]

Gets the cached value for one specific key that is valid ASCII and suitable for display.

Available since:0.9.3

Parameters

key const gchar*
 

A DMI ID, e.g. BiosVersion

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: const gchar*
 

The string, e.g. 1.2.3, or NULL if not found.

 The data is owned by the instance.
 The value is a NUL terminated UTF-8 string.