How can I know where a url gets redirected programatically?
e.g. This url:
redirects to the following url:
http://feeds2.feedburner.com/fastcompany/scobleizer
I am trying to read the xml document of feed. But the following lines of code:
var doc = new XmlDocument();
doc.Load(url);
will throw an exeption for the first url:
System.Net.WebException: The remote server returned an error: (404) Not Found.