[
  {
    "Id": "254023",
    "ThreadId": "74259",
    "Html": "<p>Is it normal? It returns always the zero value, so I think that it could be a bug.</p>\r\n<p>This is my code:</p>\r\n<div style=\"color:Black;background-color:White\">\r\n<pre><span style=\"color:Blue\">void</span> ZipSaveProgress(<span style=\"color:Blue\">object</span> sender, SaveProgressEventArgs e)<br>{<br><span style=\"color:Blue\">   switch</span> (e.EventType)<br>   {<br>      <span style=\"color:Blue\">case</span> ZipProgressEventType.Saving_AfterWriteEntry:<br>         StepArchiveProgressBackup(e);<br>         <span style=\"color:Blue\">break</span>;<br>      <span style=\"color:Blue\">case</span> ZipProgressEventType.Saving_Completed:<br>         BackupCompleted();<br>         <span style=\"color:Blue\">break</span>;<br>   }<br>}<br><br><br><span style=\"color:Blue\">private</span> <span style=\"color:Blue\">void</span> StepArchiveProgressBackup(SaveProgressEventArgs e)<br>{<br><span style=\"color:Blue\">   if</span> (<span style=\"color:Blue\">this</span>.progressBar1.InvokeRequired)<br>      <span style=\"color:Blue\">this</span>.progressBar1.Invoke(<span style=\"color:Blue\">new</span> BackupEntryProgress(<span style=\"color:Blue\">this</span>.StepArchiveProgressBackup), <span style=\"color:Blue\">new</span> <span style=\"color:Blue\">object</span>[] { e });<br>  &nbsp;<span style=\"color:Blue\">else</span><br>   {<br>      <span style=\"color:Blue\">this</span>.progressBar1.Increment((<span style=\"color:Blue\">int</span>)(e.BytesTransferred));<br>      //MessageBox.Show(e.CurrentEntry.FileName.ToString() + <span style=\"color:#A31515\">&quot; &quot;</span> + (e.BytesTransferred).ToString() + <span style=\"color:#A31515\">&quot; progressbar value: &quot;</span> + <span style=\"color:Blue\">this</span>.progressBar1.Value.ToString());<br>                <br>   }<br>}<br><br><br>Thanks!</pre>\r\n</div>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-11-05T16:03:01.107-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "254039",
    "ThreadId": "74259",
    "Html": "<table border=0 width=800>\r\n<tbody>\r\n<tr>\r\n<td>\r\n<p>Hey Alex,</p>\r\n<p>the BytesTransferred is intended for use with the event type == ZipProgressEventType.Saving_EntryBytesRead.</p>\r\n<p>If you want to know the size of the entry, either before or after comression, you have the CurrentEntry property on the SaveProgressEventArgs parameter.&nbsp; Within CurrentEntry is CompressedSize and UncompressedSize.&nbsp; Those will be accurate and up-to-date during an event call with the type == ZipProgressEventType.Saving_AfterWriteEntry.</p>\r\n<p>&nbsp;</p>\r\n</td>\r\n</tr>\r\n</tbody>\r\n</table>",
    "PostedDate": "2009-11-05T17:34:54.697-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "254183",
    "ThreadId": "74259",
    "Html": "<p>Yes, excuse me, but I didn't see the UncompressedSize property. Now all it's ok, many thanks!</p>",
    "PostedDate": "2009-11-06T02:56:12.443-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]