protected override Task CopyToArchiveStreamAsync(CloudBlob blob)
 {
     // ZipOutputStream does not support async (BeginWrite is not supported)
     blob.DownloadToStream(ArchiveStream);
     return Task.FromResult(0);
 }
 public static string DownloadText(CloudBlob blob, Encoding encoding, AccessCondition accessCondition = null, BlobRequestOptions options = null, OperationContext operationContext = null)
 {
     using (MemoryStream stream = new MemoryStream())
     {
         blob.DownloadToStream(stream, accessCondition, options, operationContext);
         return encoding.GetString(stream.ToArray());
     }
 }