Logo Search packages:      
Sourcecode: galaxium version File versions  Download package

Org::Mentalis::Network::ProxySocket::ProxySocket::ProxySocket ( AddressFamily  addressFamily,
SocketType  socketType,
ProtocolType  protocolType,
string  proxyUsername,
string  proxyPassword 
) [inline]

Initializes a new instance of the ProxySocket class.

Parameters:
addressFamily One of the AddressFamily values.
socketType One of the SocketType values.
protocolType One of the ProtocolType values.
proxyUsername The username to use when authenticating with the proxy server.
proxyPassword The password to use when authenticating with the proxy server.
Exceptions:
SocketException The combination of addressFamily, socketType, and protocolType results in an invalid socket.
ArgumentNullException proxyUsername -or- proxyPassword is null.

Definition at line 81 of file ProxySocket.cs.

                                                                                                                                                           : base(addressFamily, socketType, protocolType) {
                  ProxyUser = proxyUsername;
                  ProxyPass = proxyPassword;
                  ToThrow = new InvalidOperationException();
            }


Generated by  Doxygen 1.6.0   Back to index