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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -