I am trying to use Socket via an NTLM proxy.
How can I set domain information of the NTLM proxy?
I cannot find domain property there, and even I put domain in front of my username, it doesn't parse it and put it in NTLM message.
Socket sock = new Socket(); sock.UnlockComponent("anything-here-for-30-day-trial"); sock.HttpProxyHostname = "proxyserver"; sock.HttpProxyPort = port; sock.HttpProxyUsername = "domain\\username"; sock.HttpProxyPassword = "password"; sock.HttpProxyAuthMethod = "NTLM"; sock.Connect("www.google.com", 80, false, 60000);
asked Jul 09 '12 at 01:05
Here are new 32-bit .NET 2.0/3.5 and .NET 4.0 builds that include HttpProxyDomain properties for Socket, Imap, MailMan, Ftp2, SFtp, Ssh, and SshTunnel. This new property will be in the next official version (v9.3.2) and will be in all supported programming languages across all supported platforms.
Here are the pre-release .NET builds:
What programming language is this? My guess is C#, but I cannot be sure. If it's C#, then what .NET Framework?
The HttpProxyDomain property is already present internally, but was overlooked and not exposed. I can provide a new build that includes the HttpProxyDomain property.
answered Jul 09 '12 at 13:19