Re: [MonoTouch] WebRequest exception

2011-08-24 Thread alicya
Hello! Thank you for the response. I tried it with HttpWebRequest and HttpWebResponse, but I get the same error. I further investigated the problem, and I found that when trying to execute WebResponse response = request.GetResponse();, the response's IsMutuallyAuthenticated method throws

Re: [MonoTouch] WebRequest exception

2011-08-24 Thread Jeff Stedfast
Hi Alicya, I've taken a look at the source code of HttpWebRequest and HttpWebResponse and it looks like PreAuthentication for web requests is implemented, it's just HttpWebResponse's IsMutuallyAuthenticated property that isn't. That being said, could you submit a bug report to

Re: [MonoTouch] WebRequest exception

2011-08-08 Thread dermotos
Hi, try declaring your request object as a HttpWebRequest object, rather than a WebRequest object, like so: HttpWebRequest request = (HttpWebRequest)WebRequest.Create(http://www.twitter.com;); Haven't tested it, but this is how i've always done it in .NET -- View this message in context: