Internet Direct (Indy) Version 9.0.2 Beta
IndyGetHostName
Returns the name assigned to the local computer system.

function IndyGetHostName: string;
Returns
String - Name of the local computer system.

Description
IndyGetHostName is a String function used to find the name of the local computer system using platform specific API functions. On the Windows platform, IndyGetHostName uses the GetComputerName API function. On the Linux platform, IndyGetHostName calls the GetHostname API function.