DnsEndPoint Class
Represents a network endpoint as a host name or a string representation of an IP address and a port number.
Namespace: System.Net
Assembly: System.Net (in System.Net.dll)
The DnsEndPoint type exposes the following members.
| Name | 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, a port number, and an address family. |
| Name | Description | |
|---|---|---|
![]() ![]() | AddressFamily | Gets the Internet Protocol (IP) address family. (Overrides EndPoint::AddressFamily.) |
![]() ![]() | Host | Gets the host name or string representation of the Internet Protocol (IP) address of the host. |
![]() ![]() | Port | Gets the port number of the DnsEndPoint. |
| Name | Description | |
|---|---|---|
![]() ![]() | Create | Creates an EndPoint instance from a SocketAddress instance. (Inherited from EndPoint.) |
![]() ![]() | Equals | Compares two DnsEndPoint objects. (Overrides Object::Equals(Object).) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Returns a hash value for a DnsEndPoint. (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 DnsEndPoint. (Overrides Object::ToString().) |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show:
