I have a URL that returns a HTTP 302 redirect, and I would like to get the URL it redirects to.
The problem is that System.Net.WebClient seems to actually follow it,
On HttpWebRequest you can set AllowAutoRedirect to false to handle the redirect yourself.
HttpWebRequest
AllowAutoRedirect
false