build_machine_id


Description:


[ Version ( since = "1.0.4" ) ]
public string build_machine_id (string salt) throws Error

Gets a salted hash of the /etc/machine-id contents.

This can be used to identify a specific machine. It is not possible to recover the original machine-id from the machine-hash.

Parameters:

salt

The salt, or null for none

Returns:

the SHA256 machine hash, or null if the ID is not present


Namespace: Fwupd
Package: fwupd