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(
string proxyAddress,
string userName,
bool useClientNameResolution
) |
| Visual Basic |
|---|
Public Sub New ( _
proxyAddress As String, _
userName As String, _
useClientNameResolution As Boolean _
) |
| Visual C++ |
|---|
public:
Socks4Context(
String^ proxyAddress,
String^ userName,
bool useClientNameResolution
) |
Parameters
- proxyAddress
- Type: System..::..String
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