Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Socket::SupportsIPv4 Property

 
Note: This API is now obsolete.

Gets a value indicating whether IPv4 support is available and enabled on the current host.

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

public:
[ObsoleteAttribute("SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202")]
property bool SupportsIPv4 {
	static bool get();
}

Property Value

Type: System::Boolean

true if the current host supports the IPv4 protocol; otherwise, false.

The operating system may support both IPv4 and IPv6 protocols.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft