[
  {
    "Id": "416348",
    "ThreadId": "204441",
    "Html": "<p>hi,experts</p>\r\n<p>here is one of&nbsp;breaking changes from v1.8 to v1.9:</p>\r\n<p>All the interfaces marked Obsolete in v1.8 have been removed. These include: the methods on the ZipFile class: AddFileFromStream(), <strong>AddFileStream()</strong> UpdateFileStream(), AddFileFromString(), all the Extract() methods that accept an entry name, and the ExtractAll() method that accepts a boolean; on the ZipEntry class, the Extract() methods that accept a Boolean, and the OverwriteOnExtract property, as well as the SetNtfsTimes() method.</p>\r\n<p>I would like to know the alternative code for this function.</p>\r\n<p>thank you very much!</p>",
    "PostedDate": "2010-03-10T05:28:03.207-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "416623",
    "ThreadId": "204441",
    "Html": "<p>Hi, thanks for the question.</p>\r\n<p>For all of the AddFileFrom*** or or UpdateFile****, use AddEntry().&nbsp; There are overloads for every case that was supported in the past.</p>\r\n<p>For the ZipFile.Extract(entryName)&nbsp; methods, use ZipEntry.Extract().</p>\r\n<p>For the ZipEntry.Extract() methods that accept a boolean, use the ZipEntry.Extract() method that accepts a ExtractExistingFileAction argument.&nbsp; now, in addition to &quot;overwrite&quot; or &quot;throw exception&quot;, you have other options including:&nbsp; &quot;Don't overwrite&quot; and &quot;call the application to ask&quot;.&nbsp;&nbsp;</p>\r\n<p>The ZipEntry.SetNtfsTimes() method is now ZipEntry.SetEntryTimes().&nbsp;</p>\r\n<p>-Cheeso</p>",
    "PostedDate": "2010-03-10T14:47:31.887-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]