save_hostname_async


Description:

public async bool save_hostname_async (string? hostname, Cancellable? cancellable) throws Error

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

Parameters:

this

the nmclient

hostname

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

cancellable

a Cancellable, or null

callback

callback to be called when the operation completes

user_data

caller-specific data passed to callback




2022 vala-language.org