Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Socket.OSSupportsIPv6 Property

Definition

Namespace:
System.Net.Sockets
Assemblies:
System.dll, System.Net.Sockets.dll
Assemblies:
netstandard.dll, System.Net.Sockets.dll
Assembly:
System.Net.Sockets.dll
Assembly:
System.dll
Assembly:
netstandard.dll
Source:
Socket.cs
Source:
Socket.cs
Source:
Socket.cs
Source:
Socket.cs
Source:
Socket.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 static property bool OSSupportsIPv6 { bool get(); };
public static bool OSSupportsIPv6 { get; }
static member OSSupportsIPv6 : bool
Public Shared ReadOnly Property OSSupportsIPv6 As Boolean

Property Value

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

Remarks

The operating system may support both IPv4 and IPv6 protocols.

Applies to

See also


Feedback

Was this page helpful?