A string that contains the IP address in either IPv4 dotted-quad or in IPv6 colon-hexadecimal notation.
The IPAddress.ToString method converts the IP address that is stored in the IPAddress.Address property to either IPv4 dotted-quad or IPv6 colon-hexadecimal notation.