c# - Webrequest Proxy Timeout Value -
i trying setup proxy timeout value, if proxy fails work after 10 seconds, should cancel request. how can in httpwebrequest or webrequest?
webproxy webproxy = new webproxy("http://testserver:80/"); webrequest webrequest = webrequest.create("http://www.google.com"); webrequest.proxy = webproxy; webrequest.timeout = 5000;
is timeout property only? doesn't seem work me.
regards
c# .net vb.net proxy
No comments:
Post a Comment