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.