None Field
Collapse the table of content
Expand the table of content

IPAddress.None Field

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

'Declaration
Public Shared ReadOnly None As IPAddress

The None field is equivalent to 255.255.255.255 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


Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft