Returns a bool that indicates whether the specified IP address is a loopback address.
- addr
- A System.Net.IPAddress containing the IP address to check.
true if address is a loopback address; otherwise false.
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.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0