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: