[
  {
    "Id": "232988",
    "ThreadId": "68497",
    "Html": "<p>&nbsp;</p>\r\n<p>what is the chance of having something added that can help with cleanly canceling zip operations like</p>\r\n<p>1) zip1.Save(someDir)</p>\r\n<p>2)zip1.ExtractAll(destPath, Ionic.Zip.ExtractExistingFileAction.OverwriteSilently)</p>\r\n<p>&nbsp;</p>\r\n<p>i need to be able to cancel them if needed, but i want to do it quickly and cleanly. i want to avoid aborting the thread because it &quot;may&quot; have unforeseen consequences... not really sure what could happen.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-09-10T01:01:03.663-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233005",
    "ThreadId": "68497",
    "Html": "<p>You can cancel from within a SaveProgress or ExtractProgress method.</p>\r\n<p>The System.EventArgs that gets passed - it has a Cancel property.&nbsp; Set it to true within the progress event, and the Extract or Save will be canceled cleanly.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-09-10T02:06:17.737-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233167",
    "ThreadId": "68497",
    "Html": "<p>WOW thanks! this Library seems to have everything i need. the zip canceled immediately!</p>\r\n<p>'in progress event</p>\r\n<p>If MyZip.CancelZipOperation Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e.Cancel = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</p>\r\n<p>'after zip operation</p>\r\n<p>If MyZip.CancelZipOperation Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RaiseEvent zipCancel()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MyZip.CancelZipOperation = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Function<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If</p>\r\n<p>'in form</p>\r\n<p>Private Sub zipCancel() Handles zip1.zipCancel<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim args() As Object = {ProgressState.Close}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ThreadSafe.randomInvoke(Me, ProgressBarToggleDelegate, args)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox(&quot;your zip operation has been successfully canceled&quot;)<br>&nbsp;&nbsp;&nbsp; End Sub</p>\r\n<p>EDIT:</p>\r\n<p>MOVED INTO NEW DISCUSSION!</p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-09-10T09:08:05.263-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233201",
    "ThreadId": "68497",
    "Html": "<p>Are you reporting a problem?&nbsp;</p>\r\n<p>I'm not clear on whether its working for you or not.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-09-10T10:09:36.277-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "233203",
    "ThreadId": "68497",
    "Html": "<p>yes, im moving it to a new discussion. sorry about that.</p>",
    "PostedDate": "2009-09-10T10:11:20.337-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]