[
  {
    "Id": "181374",
    "ThreadId": "53871",
    "Html": "Taking the DotNetZip - ASP.NET Example, simply add the line:<div>zip.Password = &quot;password!&quot;;</div><div>right above the line:</div><div>zip.AddFileFromString(&quot;Readme.txt&quot;, &quot;&quot;, ReadmeText); <br><div><br></div><div>And receive the following error when it calls the Save method.<br></div><div><br></div><div><div>System.ArgumentOutOfRangeException was unhandled by user code</div><div>  Message=&quot;Specified argument was out of the range of valid values.\\r\\nParameter name: offset&quot;</div><div>  Source=&quot;System.Web&quot;</div><div>  ParamName=&quot;offset&quot;</div><div>  StackTrace:</div><div>       at System.Web.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 count)</div><div>       at Ionic.Zip.CountingStream.Write(Byte[] buffer, Int32 offset, Int32 count)</div><div>       at Ionic.Zip.CountingStream.Write(Byte[] buffer, Int32 offset, Int32 count)</div><div>       at Ionic.Zip.ZipCipherStream.Write(Byte[] buffer, Int32 offset, Int32 count)</div><div>       at Ionic.Zlib.ZlibBaseStream.Write(Byte[] buffer, Int32 offset, Int32 length)</div><div>       at Ionic.Zlib.DeflateStream.Write(Byte[] buffer, Int32 offset, Int32 count)</div><div>       at Ionic.Zip.ZipEntry._WriteFileData(Stream s)</div><div>       at Ionic.Zip.ZipEntry._EmitOne(Stream outstream)</div><div>       at Ionic.Zip.ZipEntry.Write(Stream outstream)</div><div>       at Ionic.Zip.ZipFile.Save()</div><div>       at Ionic.Zip.ZipFile.Save(Stream outputStream)</div><div>       at ASP.default_aspx.btnGo_Click(Object sender, EventArgs e) in c:\\Users\\Chad\\Documents\\Visual Studio 2008\\Projects\\TestZipApp\\WebApplication1\\Default.aspx:line 139</div><div>       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)</div><div>       at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)</div><div>       at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)</div><div>       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)</div><div>       at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)</div><div>       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</div><div>  InnerException: </div><div><br></div><div>If I use different encryption from the default PkzipWeak (i.e. zip.Encryption = EncryptionAlgorithm.WinZipAes256;  ) then the file will download, but the encrypted files will not unzip - they are invalid.</div><div><br></div><div>Any idea on this?</div><div>Thanks!</div></div></div>",
    "PostedDate": "2009-04-20T09:25:38.637-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "182360",
    "ThreadId": "53871",
    "Html": "This discussion has been copied to a work item. Click <a href=\"http://dotnetzip.codeplex.com/WorkItem/View.aspx?WorkItemId=7674\">here</a> to go to the work item and continue the discussion.",
    "PostedDate": "2009-04-22T08:01:58.083-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "182560",
    "ThreadId": "53871",
    "Html": "Great, I'm glad it is a confrmed bug. Do you have any idea if this can be fixed in a near release? <div>Thanks!</div>",
    "PostedDate": "2009-04-22T15:42:32.073-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "184620",
    "ThreadId": "53871",
    "Html": "Yes, it certainly can be fixed, but I don't have an estimate on when it might be fixed. <br>\r\nI'll look into it further, tonight, and I will then have a better idea.<br>\r\n",
    "PostedDate": "2009-04-28T10:38:17.707-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]