Internet Direct (Indy)
Home
PreviousUpNext
TIdIPAddress.IPAsString Property

Converts an IP address to its representation as a string.

Pascal
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'.

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.