Intercepting requests made by WebBrowser in C#

后端 未结 1 1687
粉色の甜心
粉色の甜心 2020-12-31 18:27

Is it possible to intercept all requests made by a WebBrowser control?

I want to modify the request URI of every single request (including requests for

1条回答
  •  没有蜡笔的小新
    2020-12-31 19:18

    There is an event called "BeforeNavigate2" that is called before any request is made. You can use this to modify the outgoing requests.

    0 讨论(0)
提交回复
热议问题