Method

FwupdPluginContextget_hwid_value

since: 1.6.0

Declaration [src]

const gchar*
fu_context_get_hwid_value (
  FuContext* self,
  const gchar* key
)

Description [src]

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

Available since: 1.6.0

Parameters

key

Type: const gchar*

A DMI ID, e.g. BiosVersion

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

Return value

Type: 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.