save_hostname


Description:

public bool save_hostname (string hostname, RemoteSettingsSaveHostnameFunc? callback)

Requests that the machine's persistent hostname be set to the specified value or cleared.

Parameters:

this

the RemoteSettings

hostname

the new persistent hostname to set, or null to clear any existing persistent hostname

callback

callback to be called when the hostname operation completes

user_data

caller-specific data passed to callback

Returns:

true if the request was successful, false if it failed




2022 vala-language.org