IPAddress.None Field

Provides an IP address that indicates that no network interface should be used. This field is read-only.

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

Public Shared ReadOnly None As IPAddress

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

The following code example displays the value of the IPv4 None address.

' This sample gets the IP address indicating that no network interface 
' should be used and converts it to a string. 
Dim address As String = IPAddress.None.ToString()
outputBlock.Text &= "IP address: "
outputBlock.Text &= address
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