Xceed .NET Libraries Documentation
SOCKS5ProxyClient Constructor(String,Int32)


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SOCKS5ProxyClient Class > SOCKS5ProxyClient Constructor : SOCKS5ProxyClient Constructor(String,Int32)
Creates a new SOCKS5ProxyClient for connecting to the specified SOCKS 5 proxy server host, using the specified port number.
Syntax
'Declaration
 
Public Function New( _

   ByVal hostName As String, _

   ByVal port As Integer _

)
'Usage
 
Dim hostName As String

Dim port As Integer

 

Dim instance As New SOCKS5ProxyClient(hostName, port)
public SOCKS5ProxyClient( 

   string hostName,

   int port

)

Parameters

hostName
port
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SOCKS5ProxyClient Class
SOCKS5ProxyClient Members
Overload List