SrvTarget.getHostname

Gets target's hostname (in ASCII form; if you are going to present this to the user, you should use g_hostname_is_ascii_encoded() to check if it contains encoded Unicode segments, and use g_hostname_to_unicode() to convert it if it does.) Since 2.22

class SrvTarget
string
getHostname
()

Return Value

Type: string

target's hostname

Meta