title: WP7-Skydrive API Download Any file and Save Isolated Storage
body: <p>I'm trying to download file on skydrive,  but it isn't working.</p>
  
  <pre><code>            LiveConnectClient client = new LiveConnectClient(session);
          client.DownloadCompleted += new EventHandler&lt;LiveDownloadCompletedEventArgs&gt;(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("Testfile", FileMode.OpenOrCreate, Isofiles))
              {
                  using (var isoFileWriter = new StreamWriter(isoFileStream))
                  {
                      isoFileWriter.Write(text);
                  }
              }
          }
  </code></pre>
  
  <p>What am I doing wrong?  </p>