WebClient URL after Response.redirect

  • Thread starter Thread starter jwgoerlich
  • Start date Start date
J

jwgoerlich

Here is the scenario: New WebClient, DownloadData from a URL, URL
returns a Response.redirect and then the data, WebClient has the data.
I need to determine the final URL after the remote IIS server has
responded with the redirect.

Any ideas?

J Wolfgang Goerlich
 
jwgoerlich said:
Here is the scenario: New WebClient, DownloadData from a URL, URL
returns a Response.redirect and then the data, WebClient has the
data. I need to determine the final URL after the remote IIS server
has responded with the redirect.

Any ideas?

J Wolfgang Goerlich

I thinkt you have to put in some extra effort here by using WebRequest
instead of WebClient and resolving redirects manually.

Cheers,
 
Back
Top