|
Rank: Member Groups: Member
Joined: 9/25/2014 Posts: 19
|
Hi,
I´m looking for WebBrowser to my Application, but I need configuration the Proxy with PAC file.
Is it possible ?
I´m using:
Visual Studio 2010 C# EO.WebBrowser Win Forms
Thanks
Cristiano Conte
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
You do not need to do anything special to support that. Chrome automatically support PAC. Because EO.WebBrowser is based on Chrome's source code, so it also automatically supports it.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 9/25/2014 Posts: 19
|
Hi,
Thanks for the reply. You could send the sample using EO.WebBrowser.
I´m search in the Product Documentation, but don´t find. It is class "ProxyInfo" support PAC file ?
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
You do not need to do anything. PAC is usually configured through DHCP by your network administrator, not on your own client machine by you. Chrome automatically looks up the network interface card and see which one gets IP address through DHCP, then it finds the DHCP server from there, then it asks DHCP server for PAC information. There is no place/interface for you to put a PAC file directly on your client machine. If you have to support that, then you will need to write code to read the PAC file, extract the proxy information (host, port, etc) and pass those values to ProxyInfo. PAC is a text file so it should be pretty easy for you to read and parse it.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 9/25/2014 Posts: 19
|
Hi,
Thank you very much for fast reply.
|
|