通过Webclicent自动检测代理和代理身份验证, [英] Auto detect proxy and proxy authentication via a webclicent ,

查看:79
本文介绍了通过Webclicent自动检测代理和代理身份验证,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

我有一个webclient(流播放器),当服务器的ip地址和视频名称提供给它时​​,该客户端用于播放来自服务器的流数据.

目前,如果这是在代理(任何类型)之后,则可以选择使用proxy复选框和用于用户名和密码的字段(如果经过身份验证),为此,我还使用了wininet.h和IEproxy.h

在任何情况下都可以正常工作.


但是,如何使流播放器(Web客户端)自动检测(在浏览器中)是否位于代理之后(也经过身份验证),如果存在,是否如何使用useproxy复选框来不播放流数据? />




HOW,当流式播放器位于经过身份验证的代理后面时,我可以让它通过弹出的弹出对话框询问流播放器用户名/密码吗?



我也引用此"http://www.codeproject.com/KB/IP/changeproxy1.aspx"和MSDN
..
但是我该如何使用wininet的可用功能来自动检测代理,以及如何将其集成到我的代码中..


请重播
我,..

Hi, ALL.

i have a webclient (streaming player) which is used to play streamed data from server, when ip address of the server and video name provide to it.

presently if this is behind proxy (any type), it has option to useproxy checkbox and fields for username and password (if authenticated), for this i also used wininet.h and IEproxy.h

it works good in all condition..


BUT, how can i make streaming player (web client) to auto detect(in browsers)whether it is behind proxy (authenticatd also) or not and if it is, how can it play streamed data with out using the useproxy checkbox,


OR


HOW, can i make streaming player to ask for proxy username/password via a popup dailog box when it is behind authenticated proxy.



i also refere this "http://www.codeproject.com/KB/IP/changeproxy1.aspx" ", and also MSDN
..
but how can i use the available function of wininet to auto detect proxy and how can i integrate that to my code..


Please replay
Me,..



推荐答案

自动检测是从已知位置读取数据.这里的位置是Internet Explorer的数据.
Auto detection is reading data from known location. Here this location is data of Internet Explorer.


这篇关于通过Webclicent自动检测代理和代理身份验证,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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