Click here to Skip to main content
15,902,112 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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,..


Posted
Updated 20-Sep-10 2:06am
v4

1 solution

Auto detection is reading data from known location. Here this location is data of Internet Explorer.
 
Share this answer
 
Comments
perry.p 20-Sep-10 7:37am    
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
perry.p 20-Sep-10 7:38am    
yes, i want when my streaming player open in IE , it auto detect whether IE has proxy settings or not, and just use those settings to play streamed data.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900