DotMSN

ConnectivitySettings Constructor (String, Int32, String, Int32, String, String, ProxyType, WebProxy)

Constructs a ConnectivitySettings which uses a socks proxy in all direct TCP communications with the messenger servers. HTTP resources are accessed via the supplied WebProxy.

[Visual Basic]
Overloads Public Sub New( _
   ByVal host As String, _
   ByVal port As Integer, _
   ByVal proxyHost As String, _
   ByVal proxyPort As Integer, _
   ByVal proxyUsername As String, _
   ByVal proxyPassword As String, _
   ByVal proxyType As ProxyType, _
   ByVal webProxy As WebProxy _
)
[C#]
public ConnectivitySettings(
   string host,
   int port,
   string proxyHost,
   int proxyPort,
   string proxyUsername,
   string proxyPassword,
   ProxyType proxyType,
   WebProxy webProxy
);

Parameters

host
Host of messenger server. Standard is messenger.hotmail.com
port
Port of messenger server. Standard is 1863
proxyHost
Host of the proxy server
proxyPort
Port of the proxy server
proxyUsername
Username, if any, used when accessing the proxyserver
proxyPassword
Password, if any, used when accessing the proxyserver
proxyType
The proxy version, Socks4 or Socks5
webProxy
Webproxy to be used when accessing HTTP resources

See Also

ConnectivitySettings Class | XihSolutions.DotMSN Namespace | ConnectivitySettings Constructor Overload List