Faking browser request in ASP.net C#

后端 未结 4 1135
自闭症患者
自闭症患者 2020-12-15 12:14

I\'m using the code below to pull one of our 3rd party developed pages in so I can parse it as XML for my random bits of work.

Irritatingly we stil have a browser de

4条回答
  •  鱼传尺愫
    2020-12-15 12:43

    I think most (if not all) browser detection is based on the User-Agent header, set by the HttpRequest.UserAgent property. I see there is a website for user-agent strings of various browsers: http://www.user-agents.org/

提交回复
热议问题