Internet Direct (Indy)
Home
PreviousUpNext
TIdIPAddress.IPv4AsString Property

Represents the IP address in 32-bit dotted-decimal format.

Pascal
property IPv4AsString: String;

IPv4AsString is a read-only String property that represents the value of the IP address as a string in IPv4 format (32-bit dotted-decimal notation). For example: '127.0.0.1'. 

IPv4AsString is used in IPAsString when AddrType indicates the IP address uses the IPv4 format. Reading IPv4AsString when AddrType contains Id_IPv6 returns a empty string (''). 

Use IPv6AsString to return the 64-bit colon-delimited hexadecimal representation for the an IP address.

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.