响应服务器响应 [英] Responding to server response

查看:82
本文介绍了响应服务器响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WebBrowser控件功能在我的项目中实现Web浏览器功能.当我的浏览器(我使用WebBrowser控件开发的)向服务器发送请求(让我们说要下载文件)时,是否有办法让我自己处理该响应,而不是由浏览器来处理响应我的项目?

在此先感谢.

I''m using WebBrowser control functionality to implement web browser capabilities in my project. Is there a way that when my browser (which I have developed by using WebBrowser control) sends a request to a server (lets say to download a file), instead of the browser handling the response, I would be able to handle it myself in my project?

Thanks in advance.

推荐答案

我不知道是否有帮助,但是此控件
I don''t know if it will help, but this control Extended .NET 2.0 WebBrowser Control[^] adds DownloadBegin and DownloadComplete events, which may do what you want - I haven''t tried it myself though.


这篇关于响应服务器响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆