System.Net.DnsEndPoint Members

The members of System.Net.DnsEndPoint are listed below.

See Also: Inherited members from System.Net.EndPoint

Public Constructors

Initializes a new instance of the System.Net.DnsEndPoint class with the host name or string representation of an IP address and a port number.

Initializes a new instance of the System.Net.DnsEndPoint class with the host name or string representation of an IP address, a port number, and an address family.

Public Properties

[read-only]
override
AddressFamilySystem.Net.Sockets.AddressFamily.

Gets the Internet Protocol (IP) address family.

[read-only]
Hoststring.

Gets the host name or string representation of the Internet Protocol (IP) address of the host.

[read-only]
Portint.

Gets the port number of the System.Net.DnsEndPoint.

Public Methods

override
Equals(object) : bool

Compares two System.Net.DnsEndPoint objects.

override
GetHashCode() : int

Returns a hash value for a System.Net.DnsEndPoint.

override
ToString() : string

Returns the host name or string representation of the IP address and port number of the System.Net.DnsEndPoint.