login about faq

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

hebinda's gravatar image

hebinda
16334


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:

http://www.chilkatsoft.com/preRelease/ChilkatDotNet2.zip

http://www.chilkatsoft.com/preRelease/ChilkatDotNet4.zip

link

answered Jul 09 '12 at 19:07

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

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.

link

answered Jul 09 '12 at 13:19

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Thanks. I am using C# .Net 3.5 and 4.0. Could you kindly provide the build?

(Jul 09 '12 at 18:05) hebinda
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×60
×24
×9
×1

Asked: Jul 09 '12 at 01:05

Seen: 3,833 times

Last updated: Jul 09 '12 at 19:07

powered by OSQA