I am using C# on visual studio 2010.

i have tried downloading a spreadsheet from yahoo by finding the location of the download and then using:

WebClient wc = new WebClient();
wc.DownloadFileAsync(uri, filename);

for the example i tried taking apple as an example:

Uri uri = new Uri("http://ichart.finance.yahoo.com/table.csv?s=AAPL&d=1&e=10&f=2012&g=d&a=8&b=7&c=1984&ignore=.csv");

unfortunately, this doesnt work.

any help would be appreciated.
thanks