static public method O2GTransport.setProxy

Brief

Configures the proxy server settings.

Declaration
C#
static void  setProxy (string proxyHost, int iPort, string user, string password)

Parameters
proxyHost

The host name or IP address of the proxy.

iPort

The proxy port.

user

If the proxy requires authorization, specify the user name in this parameter. If the proxy does not require authorization, please specify null in this parameter.

password

If the proxy requires authorization, specify the password in this parameter. If the proxy does not require authorization, please specify null in this parameter.

Details

The specified proxy settings affect all connections which will be established after calling this method.

Declared in O2GTransport

back