IPAddress.Loopback Field

 

Provides the IP loopback address. This field is read-only.

Namespace:   System.Net
Assembly:  System (in System.dll)

static val Loopback : IPAddress

Field Value

Type: System.Net.IPAddress

The Loopback field is equivalent to 127.0.0.1 in dotted-quad notation.

The following example prints the Loopback address to the console.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: