Mono Class Library: System.Net.IPAddress Overview | Members

System.Net.IPAddress.ToString Method

Returns a string representation of the value of the current instance. [Edit]

public override string ToString ()

Returns

A string representation of the current instance. The returned string is an IP address expressed in dotted-quad notation (for example, "192.168.1.2"). [Edit]

Remarks

Note:

The IPAddress.ToString method converts the IP address stored in the IPAddress.Address property of the current instance to a string containing the address in dotted-quad notation (for example, "192.168.1.2").

This method overrides object.ToString.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0