Topic Path: Symbol Reference > Classes > TIdSysLogMessage Class > TIdSysLogMessage Properties > Hostname Property
ContentsIndexHome
PreviousUpNext
TIdSysLogMessage.Hostname Property

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

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.