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)

[<ObsoleteAttribute("SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
static member SupportsIPv4 : bool with 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: