Topic Path: Symbol Reference > Classes > TIdIPAddress Class > TIdIPAddress Properties > IPv4AsString Property
TIdIPAddress.IPv4AsString Property

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

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

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.

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