-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: nicesuji
Message 2 in Discussion

Hi all,

i am trying to simulate hotmail through an iinterface written in C#

i try to connect it through the following way,

WebProxy proxyObject = new WebProxy("192.168.0.1:3128/",true);
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(destination);
webRequest.Method = "PROPFIND";
webRequest.Accept = "*/*";
webRequest.AllowAutoRedirect = false;
webRequest.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; 
.NET CLR 1.0.3705)";
webRequest.CookieContainer = new CookieContainer();
webRequest.ContentLength = requestBytes.Length;
webRequest.ContentType = "text/xml";
webRequest.Credentials = credential;
webRequest.CookieContainer.Add(ccContainer.GetCookies(destination));
webRequest.Proxy = proxyObject;
HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse();


if i give either uid or password wrong, it give an exception saying that, 
unauthorised exception.

but if i give a valid uid and password, it give an exception that, Time out 
exception
what went wrong.

Regards,

Sujith




-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to