[
  {
    "Id": "89666",
    "ThreadId": "26817",
    "Html": "\r\nHi,<br />Nice library. Thank you.<br />I was wondering whether there's a way to add a file to the zip with no compression. For example, if I'm adding a bunch of mp3 files, compression might increase file size, but would certainly hurt performance. You mention somewhere that you put in a patch that compares pre- and post- compression sizes. This would address the file size issue, but still would waste clock cycles on compressing a file that's already compressed. I'm wondering about a method like AddFileStream(String Name, String Directory, Stream stream, bool ForceNoCompression). In effect, making your CompressionMethod not be read-only.<br />Thanks.<br />",
    "PostedDate": "2008-04-29T09:58:54.253-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "92727",
    "ThreadId": "26817",
    "Html": "<p>Hey that sounds like a good suggestion.<br>\r\nI'll add it to the library.</p>\r\n<p>Rather than add another overload to the AddFile() AddItem() AddDirectory() methods, I'm thinking of exposing a property on the ZipFile that dictates whether compression should be used.  The default is YES, but you could set it to NO. </p>\r\n",
    "PostedDate": "2008-05-15T09:04:40.303-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "95929",
    "ThreadId": "26817",
    "Html": "I added this.  <br>\r\nIt is a property called ForceNoCompression, on the ZipFile class.<br>\r\nIt is available, now, in the v1.5 preview release. <br>\r\nTry it out. <br>\r\n",
    "PostedDate": "2008-05-30T17:22:23.493-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]