IPAddress.Any Field

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides an IP address that indicates that the server must listen for client activity on all network interfaces. This field is read-only.

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

public static readonly IPAddress Any

Field Value

Type: System.Net.IPAddress

The Socket.Bind method uses the Any field to indicate that a Socket instance must listen for client activity on all network interfaces.

The Any field is equivalent to 0.0.0.0 in dotted-quad notation.

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: