WP7-Skydrive API Download PDF file and Save Isolated Storage
===

I'm trying to download pdf file on skydrive,  but it isn't working.

                LiveConnectClient client = new LiveConnectClient(session);
            client.DownloadCompleted += new EventHandler<LiveDownloadCompletedEventArgs>(DownloadCompleted);
            client.DownloadAsync(fileid);
			//-----------------------------------------------------------------
			void DownloadCompleted(object sender, LiveOperationCompletedEventArgs e)
			{
                StreamReader reader = new StreamReader(e.Result);
                string text = reader.ReadToEnd();
                IsolatedStorageFile Isofiles = IsolatedStorageFile.GetUserStoreForApplication();
                using (var isoFileStream = new IsolatedStorageFileStream("Test.pdf", FileMode.OpenOrCreate, Isofiles))
                {
                    using (var isoFileWriter = new StreamWriter(isoFileStream))
                    {
                        isoFileWriter.Write(text);
                    }
                }
            }
	
What am I doing wrong?	