来自.net webbrowser控件的http请求 [英] http request from a .net webbrowser control

查看:71
本文介绍了来自.net webbrowser控件的http请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在windows窗体webbrowser控件中获取http请求?如果是的话。



谢谢

解决方案

我在我的自定义System.Web.UI中使用。 WebControls.Panel类那样:

 HttpRequest req = System.Web.HttpContext.Current.Request; 


否。您可以浏览 WebBrowser 并获取/处理文档或使用 HttpRequest 来获取文档作为响应。你是什​​么意思 HttpRequest 来自 WebBrowser


我的意思是来自的httprequest原生的.net webbrowser控件。


Is it possible to get the http request in the windows form webbrowser control? if yes how.

thanks

解决方案

I am using in my custom System.Web.UI.WebControls.Panel class that way:

HttpRequest req = System.Web.HttpContext.Current.Request;


No. Either, you navigate through WebBrowser and get/process document or use HttpRequest to get the document in response. What do you mean HttpRequest from WebBrowser?


i mean httprequest from the native .net webbrowser control.


这篇关于来自.net webbrowser控件的http请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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