[
  {
    "Id": "1081725",
    "ThreadId": "453695",
    "Html": "Hi,<br />\n<br />\nI'm using AddFile to add a bunch of files to a new archive which I then save to a stream, but this never seems to work!<br />\nI can use AddEntry to add an entry from content, but with AddFile the zip is always invalid.<br />\n<br />\nStrangely, if I read the file contents into a byte array and add them using AddEntry, I have the same problem, but AddEntry with a text string works fine.<br />\n<br />\nI'd be grateful for any suggestions!<br />\n<br />\nNote: this all works fine if I save it to a file, but not if I save to a stream!<br />\n<br />\n<strong>UPDATE</strong><br />\nThis seems to be an output size issue because if I initialize the stream to exactly the right size, it works. <br />\nIs there a way to get the total archive size without writing it to disk?<br />\n",
    "PostedDate": "2013-08-17T15:29:36.047-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "1101320",
    "ThreadId": "453695",
    "Html": "Is this possibly related to <a href=\"http://dotnetzip.codeplex.com/workitem/14087\" rel=\"nofollow\">this one?</a><br />\n",
    "PostedDate": "2013-10-01T06:48:22.15-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]