FtpClient.ParseIPPort Method

Mentalis.org Proxy

Mentalis.org Proxy Documentation

FtpClient.ParseIPPort Method 

Parses an IP address and port from a specified input string.

[Visual Basic]Private Function ParseIPPort( _
   ByVal Input As String _
) As System.Net.IPEndPoint
[C#]
private IPEndPoint ParseIPPort(
   string Input
);

Parameters

Input
The string to parse.

Return Value

An instance of the IPEndPoint class if successful, null otherwise.

Remarks

The input string is of the following form:
HOST:PORT
or
HOST PORT

See Also

FtpClient Class | FtpClient Members | Org.Mentalis.Proxy.Ftp Namespace