Sorry I accidentally posted two times.
Sebastian answer the question.
I should have used NSMutableUrlRequest.
THe following worked.
NSMutableUrlRequest req = new NSMutableUrlRequest(url1);
req["User_Agent"] ="Mozilla/5.0
(Windows; U; Windows NT 6.0; en-US)
AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0";
Thanks
Art
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Converting-ObjectiveC-code-to-MonoTouch-tp3807631p3807805.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch