id_is_valid


Description:

[ Version ( since = "1.4.1" ) ]
public static bool id_is_valid (string device_id)

Checks the string is a valid non-partial device ID.

It is important to note that the wildcard ID of `*` is not considered a valid ID in this function and the client must check for this manually if this should be allowed.

Parameters:

device_id

string to check, e.g. `d3fae86d95e5d56626129d00e332c4b8dac95442`

Returns:

true if guid was a fwupd device ID, false otherwise