Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IPAddress.Any Field

Definition

Namespace:
System.Net
Assemblies:
System.dll, System.Net.Primitives.dll
Assemblies:
netstandard.dll, System.Net.Primitives.dll
Assembly:
System.Net.Primitives.dll
Assembly:
System.dll
Assembly:
netstandard.dll
Source:
IPAddress.cs
Source:
IPAddress.cs
Source:
IPAddress.cs
Source:
IPAddress.cs
Source:
IPAddress.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public: static initonly System::Net::IPAddress ^ Any;
public static readonly System.Net.IPAddress Any;
 staticval mutable Any : System.Net.IPAddress
Public Shared ReadOnly Any As IPAddress 

Field Value

Remarks

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.

Applies to


Feedback

Was this page helpful?