OSSupportsIPv4 Property

Socket::OSSupportsIPv4 Property

.NET Framework (current version)

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

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

property bool OSSupportsIPv4 {
	static bool 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
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
© 2016 Microsoft