Represents a network endpoint as an host(name or IP address) and a port number.
| C# | Visual Basic | Visual C++ |
public class HostEndPoint
Public Class HostEndPoint
public ref class HostEndPoint
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| HostEndPoint(String, Int32) |
Default constructor.
| |
| HostEndPoint(IPEndPoint) |
Default constructor.
| |
| 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 host name or IP address.
| |
| IsIPAddress |
Gets if Host is IP address.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Parse(String) |
Parses HostEndPoint from the specified string.
| |
| Parse(String, Int32) |
Parses HostEndPoint from the specified string.
| |
| Port |
Gets the port number of the endpoint. Value -1 means port not specified.
| |
| ToString()()() |
Returns HostEndPoint as string.
(Overrides Object.ToString()()().) |
| Object | |
| HostEndPoint | |