Welcome Guest Search | Active Topics | Sign In | Register

webView1 proxy in simple code (EO.WebBrowser) Options
Bapak Mentri
Posted: Friday, March 18, 2016 8:03:22 PM
Rank: Newbie
Groups: Member

Joined: 3/18/2016
Posts: 2
hi all, i use this code

if (rbProxyYes.Checked)
{
Base.ProxyType protype = new Base.ProxyType();
protype = Base.ProxyType.HTTP;

Base.ProxyInfo proxyInfo = new Base.ProxyInfo(protype, tbIP.Text, Convert.ToInt32(tbPort.Text));
Runtime.Proxy = proxyInfo;

webView1.Url = tbURL.Text;
}
else
{
webView1.Url = tbURL.Text;
}

and..... ta daaa.... i check in ipchicken.com

it's not work.

this is a qustion not a tutorial, Shame on you .
can you all master here and admin write a simple code to make it work.

thanks in advance.
eo_support
Posted: Sunday, March 20, 2016 4:33:44 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

You can not change Proxy settings when the WebView is already created. You need to set Proxy before you create any WebView. If you wish to dynamically change proxy settings at runtime, you can dynamically create and stop EO.WebEngine.Engine object and set proxy settings on the engine object. See here for more details:

http://www.essentialobjects.com/doc/webbrowser/advanced/engine.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.