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


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SOCKS5ProxyClient Class > SOCKS5ProxyClient Constructor : SOCKS5ProxyClient Constructor(String,Int32,String,String)
Creates a new SOCKS5ProxyClient for connecting to the specified SOCKS 5 proxy server host, using the specified port number, username and password credentials.
Syntax
'Declaration
 
Public Function New( _
   ByVal hostName As String, _
   ByVal port As Integer, _
   ByVal userName As String, _
   ByVal password As String _
)
'Usage
 
Dim hostName As String
Dim port As Integer
Dim userName As String
Dim password As String
 
Dim instance As New SOCKS5ProxyClient(hostName, port, userName, password)
public SOCKS5ProxyClient( 
   string hostName,
   int port,
   string userName,
   string password
)

Parameters

hostName
port
userName
password
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