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

Creates a new instance of the ProxyInfo class.

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

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.
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