I'm try this code, it work fine but only for one host
Same with my first post, but I'm use ForwardedPortLocal instead ForwardedPortDynamic
...
ForwardedPortLocal forward = new ForwardedPortLocal("localhost", 9951, "www.google.com", 80);
forward.Start();
....
HttpWebRequest rq = (HttpWebRequest)WebRequest.Create("http://google.com");
rq.Proxy = new WebProxy("localhost:9951");
HttpWebResponse rp = (HttpWebResponse)rq.GetResponse();
//That work but google only, how can I use the same boundHost, boundPort for an other Host ?_?
Same with my first post, but I'm use ForwardedPortLocal instead ForwardedPortDynamic
...
ForwardedPortLocal forward = new ForwardedPortLocal("localhost", 9951, "www.google.com", 80);
forward.Start();
....
HttpWebRequest rq = (HttpWebRequest)WebRequest.Create("http://google.com");
rq.Proxy = new WebProxy("localhost:9951");
HttpWebResponse rp = (HttpWebResponse)rq.GetResponse();
//That work but google only, how can I use the same boundHost, boundPort for an other Host ?_?