Internet Direct (Indy)
Home
PreviousUpNext
TIpProperty.AsString Property

Represents the IP address as a string in dotted-decimal format.

Pascal
property AsString: String;

AsString is a String property that represents the value of the IP address or network mask in dotted-decimal format, like "129.71.2.4". 

AsString calls SetAll to update the value of the individual bytes in the IP address. 

Use Byte1, Byte2, Byte3, Byte4, AsDoubleWord, or AsBinaryString to access the value of the IP address in other representations.

// update the network calculator network address ANetCalc.NetworkAddress.AsString := '129.71.2.4';

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.