You should use System.Net.HttpWebRequest.Proxy
for the proxy. Check the MSDN code snippet link for more information. I had a similar problem and this helped.
Is it possible to use UdpClient through an anonymous proxy?
Question
I am sending a big endian byte array to a UDP host and all works well, but I need to incorporate proxies into the mix.
From what I've found (or haven't found) there is no straight forward way to use anonymous proxies (or even Socks4/5) with UdpClient. Can anyone help?
No correct solution
OTHER TIPS
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow