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?
문제
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?
올바른 솔루션이 없습니다
다른 팁
제휴하지 않습니다 StackOverflow