[
  {
    "Id": "207034",
    "ThreadId": "61061",
    "Html": "<p>I have the following codes (simplied) to add a flie to zip:</p>\r\n<p><br>\r\n<div style=\"color:Black;background-color:White\">\r\n<pre><span style=\"color:Blue\">using</span> (ZipFile zip = <span style=\"color:Blue\">new</span> ZipFile(<span style=\"color:#A31515\">&quot;MyZip.zip&quot;</span>)\r\n{\r\n     zip.AddFile(<span style=\"color:#A31515\">&quot;c:\\temp\\test\\test.log&quot;</span>);\r\n}\r\n<br><br>The result in the zip file is a file (test.log) with path. If I only want to add this file without path in the zip file, how can I do it. Should I rename it with path or any option to let ZipFile to ignore file path?</pre>\r\n</div>\r\n</p>",
    "PostedDate": "2009-06-30T05:32:20.457-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "207055",
    "ThreadId": "61061",
    "Html": "<pre>    zip.AddFile(@&quot;C:\\temp\\test\\test.log&quot;, &quot;&quot;);\r\n</pre>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-06-30T06:39:38.08-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]