Hey,

The original (objectivec) code was using NSMutableUrlRequest, not
NSUrlRequest (it was also part of my previous answer ;-). FWIW you
cannot change it if it's not mutable.

Sebastien

On Mon, Sep 12, 2011 at 11:20 AM, coderprojects <coderproje...@gmail.com> wrote:
> Hi
> I tried it and getting the following
>
>  Error CS0200: Property or indexer
> `MonoTouch.Foundation.NSUrlRequest.this[string]' cannot be assigned to (it
> is read-only)
>
>
> I am trying to convert the code in the following URL
> http://stackoverflow.com/questions/478387/change-user-agent-in-uiwebview-iphone-sdkhttp://stackoverflow.com/questions/478387/change-user-agent-in-uiwebview-iphone-sdk
>
>
> Thanks
> Art
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/seting-UIWebview-user-agent-objectiveC-question-tp3807602p3807673.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to