Topic Path: Symbol Reference > Classes > TIdIPAddress Class > TIdIPAddress Properties > IPAsString Property
ContentsIndexHome
PreviousUpNext
TIdIPAddress.IPAsString Property

Converts an IP address to its representation as a string.

property IPAsString: String;

IPAsString is a read-only String property used to access the current value for the IP address as a string data type. 

IPAsString uses the value in AddrType to determine the format for the contents of the property. 

For IPv4 addresses (Id_IPv4), the property is represented in its dotted-decimal form; for example, '127.0.0.1'. 

For IPv6 addresses (Id_IPv6), the property is represented in its colon-delimited representation; for example, '00FF:0000:0000:0001:BCAD:0D15:0000:002D'.

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