get_hostname


Description:

[ Version ( since = "2.22" ) ]
public unowned string get_hostname ()

Gets this's hostname (in ASCII form; if you are going to present this to the user, you should use is_ascii_encoded to check if it contains encoded Unicode segments, and use to_unicode to convert it if it does.

)

Parameters:

this

a SrvTarget

Returns:

this's hostname




2022 vala-language.org