Cover image
badswAB
Feb 6

This method is to test whether the Http proxy is working

If it's HTTP validation, send a request to the proxy to see if there is a response! HttpWebRequest objHttpRequest; HttpWebResponse objResponse; WebProxy objProxy; objHttpRequest=(HttpWebRequest)WebRequest.Create(m_strUrl); objHttpRequest.Timeout=3000; objHttpRequest.AllowAutoRedirect=true; objHttpRequest.ContentType="application/x-www-form-Urlencoded"; objProxy=new WebProxy(ProxyName,PortID); objProxy.BypassProxyOnLocal=true; objProxy.Credentials=new NetworkCredential(UserID,Pwd,Domain);...
ParagraphParagraph

badswAB

Written by
badswAB
Subscribe

2025 Paragraph Technologies Inc

PopularTrendingPrivacyTermsHome
Search...Ctrl+K

badswAB

Subscribe