Represents a network endpoint as a host name or a string representation of an IP address and a port number.
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| DnsEndPoint(String, Int32) |
Initializes a new instance of the DnsEndPoint 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 DnsEndPoint class with the host name or string representation of an IP address and a port number.
| |
| AddressFamily |
Gets the Internet Protocol (IP) address family.
| |
| Create(SocketAddress) |
Creates an endpoint from a socket address.
(Overrides EndPoint.Create(SocketAddress).) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Host |
Gets the host name or string representation of the Internet Protocol (IP) address of the host.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Port |
Gets the port number of the DnsEndPoint.
| |
| Serialize()()() |
Serializes endpoint information into a SocketAddress instance.
(Overrides EndPoint.Serialize()()().) | |
| ToString()()() | (Inherited from Object.) |
The DnsEndPoint class contains a host name or an IP address and remote port information needed by an application to connect to a service on a host.
By combining the host name or IP address and port number of a service, the DnsEndPoint class forms a connection point to a service.