Socket.OSSupportsIPv6 Property

Note: This property is new in the .NET Framework version 2.0.

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

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

public static bool OSSupportsIPv6 { get; }
/** @property */
public static boolean get_OSSupportsIPv6 ()

public static function get OSSupportsIPv6 () : boolean

Property Value

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

The operating system may support both IPv4 and IPv6 protocols.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0