Hi, Thanks for the reply. I tried all req["User_Agent"] ="foo"
Error CS0200: Property or indexer `MonoTouch.Foundation.NSUrlRequest.this[string]' cannot be assigned to (it is read-only) req.SetValueForKey(nsObject, "foo"); requires NSobject and I don't know how to convert forHTTPHeaderField:@"User_Agent"] to NSObject req.Headers[nsObjectKey] also requires NSObject Key I am trying to convert the code from the following URL http://stackoverflow.com/questions/478387/change-user-agent-in-uiwebview-iphone-sdk Thanks Art -- View this message in context: http://monotouch.2284126.n4.nabble.com/Converting-ObjectiveC-code-to-MonoTouch-tp3807631p3807718.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
