title: Need alternative to CancellationToken
body: <p>I want to cancel a Task that downloads a file. My research says that this should be doable with the use of a CancellationToken. I've followed the guidelines explained <a href="https://msdn.microsoft.com/en-us/library/mt674886.aspx" rel="nofollow">here</a> and made everything work up until I needed to change this line of code:</p>
  
  <pre><code>await cloudBlockBlob.DownloadToStreamAsync(writeStream);
  </code></pre>
  
  <p>To be like this line:</p>
  
  <pre><code>await blockBlob.DownloadToStreamAsync(writeStream, cancellationToken);
  </code></pre>
  
  <p>The later method fails because I do not have the most recent version of WindowsAzure. While the most recent version supports that second method (as seen <a href="https://msdn.microsoft.com/en-us/library/microsoft.windowsazure.storage.blob.cloudblockblob.downloadtostreamasync.aspx" rel="nofollow">here</a>) I simply do not have access to that method, and upgrading to the most recent version is NOT an option.</p>
  
  <p>Is there another way to cancel a Task with that line of code, or am I forced to drop this feature?</p>
  
  <p>Edit: I am using Microsoft.WindowsAzure.Storage.dll v6.0.0.0</p>