IPVersion Enumeration (System.Net.Sockets)

Represents the IP protocol version.

Syntax

public enum IPVersion

Remarks

The IPVersion enumeration is used to specify whether to use IPv4 or IPv6 addresses. For example, when creating an IPEndPoint or binding a Socket, you can use the AddressFamily property, which is derived from this enumeration, to define the protocol version.

Members

See Also


Table of Contents