Xceed .NET Libraries Documentation
SOCKS4ProxyClient Constructor(String,String)


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SOCKS4ProxyClient Class > SOCKS4ProxyClient Constructor : SOCKS4ProxyClient Constructor(String,String)
A System.String that represents a parsable valid IPv4 address or host name hosting the Proxy service. If a host name is specified, the proxy must support the SOCKS4A protocol.
A System.String that represents the SOCKS userId.
Creates a new SOCKS4ProxyClient for connecting to the specified SOCKS 4/4A proxy server host, using the specified SOCKS userID.
Syntax
'Declaration
 
Public Function New( _
   ByVal hostName As String, _
   ByVal userId As String _
)
'Usage
 
Dim hostName As String
Dim userId As String
 
Dim instance As New SOCKS4ProxyClient(hostName, userId)
public SOCKS4ProxyClient( 
   string hostName,
   string userId
)

Parameters

hostName
A System.String that represents a parsable valid IPv4 address or host name hosting the Proxy service. If a host name is specified, the proxy must support the SOCKS4A protocol.
userId
A System.String that represents the SOCKS userId.
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

SOCKS4ProxyClient Class
SOCKS4ProxyClient Members
Overload List