Пример #1
0
 /// -----------------------------------------------------------------------------
 /// <summary>
 /// The ReadZip method reads the zip stream and parses the ZipEntry metadata
 /// </summary>
 /// <param name="unzip">A ZipStream containing the file content</param>
 /// <param name="entry">A ZipEntry containing the file metadata</param>
 /// -----------------------------------------------------------------------------
 private void ReadZip(ZipInputStream unzip, ZipEntry entry)
 {
     ParseFileName(entry.Name);
     Util.WriteStream(unzip, TempFileName);
     File.SetLastWriteTime(TempFileName, entry.DateTime);
 }