WebRequest help

  • Thread starter Thread starter trialproduct2004
  • Start date Start date
T

trialproduct2004

Hi all
i am having problem in webrequest class.
I have bunch of urls some which are redirecting to some othere urls.
I want to find out how many urls are redirecting to some other urls.
For that purpose i have used webrequset class.
But this process is taking lots of time. Do i need to set method to
HEAD to get faster reply.
Or is there any other alternative for doing this.
An help will be appreciated.
thanks in advance.
 
The simplest thing to do is to check the ResponseUri property of the
HttpWebResponse you get back. If it is different than the RequestUri, it was
redirected.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
Back
Top