Represents the IP protocol version.
public enum IPVersion
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.