Export (0) Print
Expand All

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 static readonly IPAddress None

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.


      // Gets the IP address indicating that no network interface should be used 
      // and converts it to a string.
      string address = IPAddress.None.ToString();
      outputBlock.Text += "IP address: ";
      outputBlock.Text += address;
      outputBlock.Text += "\n";



Silverlight

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

ADD
Show:
© 2014 Microsoft