Table of Contents
ProxyInfo Constructor (ProxyType, String, Int32, String, String, String)

Creates a new instance of the ProxyInfo class.

Syntax
 public ProxyInfo(
   ProxyType type,
   string host,
   int port,
   string username,
   string password,
   string bypass
);

Parameters

type
The proxy type.
host
The proxy server host name.
port
The proxy server port.
username
The proxy server user name.
password
The proxy server password.
bypass
The bypass host list. For example, you can set it to "localhost,www.yourhost.com" to specify the converter to skip proxy when the host is "localhost" or "www.yourhost.com".
Remarks

Pass null (Visual Basic Nothing) for username and password if the proxy does not requires authentication, or the proxy supports NTLM authentication and you intend to use the current user context to authenticate the proxy server.

See Also