How can i change the proxy settings in Awesomium (c#)? i've this simple code for now
Awesomium.Windows.Forms.WebControl browser =
new Awesomium.Windows.Forms.WebControl();
browser = new Awesomium.Windows.Forms.WebControl();
browser.Paint += browser_Paint;
browser.Location = new System.Drawing.Point(1, 1);
browser.Name = "webControl";
browser.Size = new System.Drawing.Size(1024, 768);
browser.Source = new System.Uri("http://checkip.dyndns.com/", System.UriKind.Absolute);
browser.TabIndex = 0;
WebPreferences prefs = new WebPreferences(){ ProxyConfig = "xxx.xxx.xxx.xxx:port" }
session = WebCore.CreateWebSession(prefs);
browser.WebSession = session;
browser.Source = new System.Uri("http://checkip.dyndns.com/", System.UriKind.Absolute);
check this answer for more details
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With