Indy 9
IndyGetHostName
Unit: IdGlobal
Returns the name assigned to the local computer system.
function IndyGetHostName: string;
Unit
IdGlobal
Return Value
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.