Link to home
Start Free TrialLog in
Avatar of zattz
zattz

asked on

HttpWebRequest detect redirect

Hi,

I am opening a URL with .NET HttpWebRequest. I want to detect if the url redirects to another page, and if so, what is the address that it redirects to.

thx
ASKER CERTIFIED SOLUTION
Avatar of REA_ANDREW
REA_ANDREW
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zattz
zattz

ASKER

Thanks!

That's just what I needed. And so simple too lol.
glad I could help. :-)

Andrew