Class RemoteHostEndPoint
Remote endpoint specified by hostname and port.
public sealed class RemoteHostEndPoint : RemoteEndPoint
- Inheritance
-
RemoteHostEndPoint
- Inherited Members
Constructors
RemoteHostEndPoint(string, int)
Creates a remote host endpoint.
public RemoteHostEndPoint(string host, int port)
Parameters
Properties
Host
Gets the hostname.
public string Host { get; }
Property Value
Port
Gets the port.
public int Port { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.