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

System.Net.IPAddress.IsLoopback Method

Returns a bool that indicates whether the specified IP address is a loopback address. [Edit]

public static bool IsLoopback (IPAddress addr)

Parameters

addr
A System.Net.IPAddress containing the IP address to check. [Edit]

Returns

true if address is a loopback address; otherwise false. [Edit]

Remarks

All IP addresses of the form 127.X.Y.Z, where X, Y, and Z are in the range 0-255, are forwarded to the IP loopback address 127.0.0.1. The IPAddress.Loopback address is used to specify the address of the local computer. [Edit]

Requirements

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