Constructs a Socks4Context setting the proxy-address, the user-name,
and the flag controlling the way host-names are resolved.
Namespace: EnterpriseDT.Util.SocksAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public Socks4Context(
IPAddress proxyAddress,
string userName,
bool useClientNameResolution
) |
Visual Basic |
---|
Public Sub New ( _
proxyAddress As IPAddress, _
userName As String, _
useClientNameResolution As Boolean _
) |
Visual C++ |
---|
public:
Socks4Context(
IPAddress^ proxyAddress,
String^ userName,
bool useClientNameResolution
) |
Parameters
- proxyAddress
- Type: System.Net..::..IPAddress
Address to be used to connect to the proxy.
- userName
- Type: System..::..String
User-name to be used for validation on the proxy.
- useClientNameResolution
- Type: System..::..Boolean
Controls use of SOCKS4A feature of requesting
that the proxy should resolve host-names.
See Also