Determines the local host name for the computer system.
function IndyComputerName: String;
String - Local host name for the computer system.
IndyComputerName is a String function used to retrieve the computer name for the local system, as used in various internet protocols.
IndyComputerName will now use Environment.MachineName in DotNET. This should fix the ESMTP bug where IndyComputerName would return nothing causing an EHLO and HELO command to fail in TIdSMTP under DotNET.
For the Windows platform, IndyComputerName calls GetComputerName to retrieve the name for the local host.
For the .Net platform, IndyComputerName uses the value in System.Environment.MachineName from the framework class library.
On the Linux operating system, IndyComputerName calls the GetHostName function to retrieve the value for the function.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |