Represents a network endpoint as a host name or a string representation of an IP address and a port number.
Assembly: System (in System.dll)
Thetype exposes the following members.
|DnsEndPoint(String, Int32)||Initializes a new instance of the class with the host name or string representation of an IP address and a port number.|
|DnsEndPoint(String, Int32, AddressFamily)||Initializes a new instance of the class with the host name or string representation of an IP address, a port number, and an address family.|
|Create||Creates an EndPoint instance from a SocketAddress instance. (Inherited from EndPoint.)|
|Equals||Compares two objects. (Overrides Object.Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Returns a hash value for a . (Overrides Object.GetHashCode().)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|Serialize||Serializes endpoint information into a SocketAddress instance. (Inherited from EndPoint.)|
|ToString||Returns the host name or string representation of the IP address and port number of the . (Overrides Object.ToString().)|
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.