我试图将SOCKS4与Awesomium一起使用,但我的代码并没有工作。
它没有改变我的IP地址,就像它应该的那样。
private void button1_Click(object sender, EventArgs e)
{
WebPreferences prefs = new WebPreferences();
WebSession session = WebCore.CreateWebSession(prefs);
prefs.ProxyConfig = "xxx.xxx.xxx.xxx:port";
using (session = WebCore.CreateWebSession(prefs))
{
webControl1.Source = new Uri("http://whoer.net/");
}
}