[ Version ( since = "1.4.5" ) ]
public void set_user_agent_for_package (string package_name, string package_version)
Builds a user-agent to use for the download.
Supplying harmless details to the server means it knows more about each client. This allows the web service to respond in a different way, for instance sending a different metadata file for old versions of fwupd, or returning an error for Solaris machines.
Before freaking out about theoretical privacy implications, much more data than this is sent to each and every website you visit.
this |
A Client |
package_name |
client program name, e.g. "gnome-software" |
package_version |
client program version, e.g. "3.28.1" |