Socket.OSSupportsIPv4 Property

Definition

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

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

Property Value

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

Remarks

The operating system may support both IPv4 and IPv6 protocols.

Applies to

See also