get_user_agent


Description:

[ Version ( since = "1.5.2" ) ]
public unowned string get_user_agent ()

Gets the string that represents the user agent that is used for uploading and downloading.

The user agent will contain the runtime version of fwupd somewhere in the provided string.

Parameters:

this

A Client

Returns:

a string, or null for unknown.