Socket.OSSupportsIPv4 Property

 

Indicates whether the underlying operating system and network adaptors support Internet Protocol version 4 (IPv4).

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

public static bool OSSupportsIPv4 { get; }

Property Value

Type: System.Boolean

true if the operating system and network adaptors support the IPv4 protocol; otherwise, false.

The operating system may support both IPv4 and IPv6 protocols.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show: