IPAddress.Loopback Field

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

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

Public Shared ReadOnly Loopback As IPAddress

The Loopback field is equivalent to in dotted-decimal notation.

The following example prints the IPv4 Loopback address.

' Gets the IP loopback address and converts it to a string.
Dim IpAddressString As [String] = IPAddress.Loopback.ToString()
outputBlock.Text &= "Loopback IP address: "
outputBlock.Text &= IpAddressString
outputBlock.Text &= vbCrLf


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions