so if the site is bloked in my country it must not give me response or response that denote :site is blocked.
so if I changed the proxy form c# form webproxy class after that I make request that blocked site it must be avilabe corresponding to the working proxy.
but my problem is : www.youtube.com is blocked but when I make requist it response with avilabe site.!!!!
and when I open the file that contains the source code as html it opens youtube.com
so I don't know what is happen really.
although I didn't change the proxy setting .the code is as following:
|
string ip=myWebRequest.Proxy.GetProxy(r).ToString();
what is the problem ?? and how can I get response according to the proxy that I have set.
thanx
Replies
Know the answer? Post it — somebody with the same question will find it here.