getHostName()

Method. Gets the host name for the current session. This property is linked to the Host name or IP address box in the Session Setup dialog box.

public String getHostName()