How can I request a web site and detect if it redirects to another url?
for example i want to put the url in a textbox if the url return redirect then I get something like:
HTTP/1.1 302 Found
I want to store this in variables so that I know where does the URL redirects to.
I need sample code in asp.net c#