Socket.OSSupportsIPv4 Property
Definition
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 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.