Setting UserAgent for HttpWebRequest in Silverlight 4 -
i'm using silverlight 4 , need set (override) useragent
httpwebrequest
. unfortunately not supported.
platform notes in msdn state:
"do not use member when targeting silverlight 4."
and if try, system.notimplementedexception
stacktrace: @ system.net.browser.clienthttpwebrequest.setuseragent(string value) @ system.net.httpwebrequest.set_useragent(string value)
i've tried altering headers
collection directly returns same error.
is there way this?
bonus question: know why not supported?
Comments
Post a Comment