End Point Class
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.
Represents a network endpoint as a host name or a string representation of an IP address and a port number.
public ref class DnsEndPoint : System::Net::EndPoint
public class DnsEndPoint : System.Net.EndPoint
type DnsEndPoint = class inherit EndPoint
Public Class DnsEndPoint Inherits EndPoint
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.
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, a port number, and an address family.
Gets the Internet Protocol (IP) address family.
Gets the host name or string representation of the Internet Protocol (IP) address of the host.
Gets the port number of the DnsEndPoint.
Compares two DnsEndPoint objects.
Returns a hash value for a DnsEndPoint.
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Serializes endpoint information into a SocketAddress instance.(Inherited from EndPoint)
Returns the host name or string representation of the IP address and port number of the DnsEndPoint.