Internet Direct (Indy)
Home
PreviousUpNext
TIdSysLogMessage.Hostname Property

IP address or host name for the computer sending the message.

Pascal
property Hostname: string;

Hostname is a string property that represents the IP address or host name for the computer sending the message. By default, this is set the IP address of the user's computer and is obtained by using GStack.LocalAddress. 

Please note that the Hostname property is not stored in the DFM because the HostName property is specific to a user's computers and storing it in the form files could create an incorrect value in the System log.

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.