Socket::SupportsIPv4 Property
.NET Framework (current version)
Note: This API is now obsolete.
Namespace:
System.Net.Sockets
Assembly: System (in System.dll)
Return to top
Gets a value indicating whether IPv4 support is available and enabled on the current host.
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::Booleantrue 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
Available since 1.1
Show: