[ Version ( deprecated = true , deprecated_since = "1.22" ) ]
public bool save_hostname (string? hostname, Cancellable? cancellable = null) throws Error
Warning: save_hostname is deprecated since 1.22.
Requests that the machine's persistent hostname be set to the specified value or cleared.
Use save_hostname_async or GDBusConnection.
this |
the nmclient |
hostname |
the new persistent hostname to set, or null to clear any existing persistent hostname |
cancellable |
a Cancellable, or null |
true if the request was successful, false if it failed |