Internet Direct (Indy)
Home
PreviousUpNext
TIdIPAddress.IPv6AsString Property

Represents the IP address in 64-bit colon-delimited hexadecimal format.

Pascal
property IPv6AsString: String;

IPv6AsString is a read-only String property that represents the value of the IP address as a string in IPv6 format (64-bit colon-delimited hexadecimal notation). For example: '00FF:0000:0000:0001:BCAD:0D15:0000:002D'. 

IPv6AsString is used in IPAsString when AddrType indicates the IP address uses the IPv6 format. Reading IPv6AsString when AddrType contains Id_IPv4 returns a empty string (''). 

Use IPv4AsString to return the 32-bit dotted-decimal 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.