/// ----------------------------------------------------------------------------- /// <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) { this.ParseFileName(entry.Name); Util.WriteStream(unzip, this.TempFileName); File.SetLastWriteTime(this.TempFileName, entry.DateTime); }
/// ----------------------------------------------------------------------------- /// <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> /// <history> /// [cnurse] 07/24/2007 created /// </history> /// ----------------------------------------------------------------------------- private void ReadZip(ZipInputStream unzip, ZipEntry entry) { ParseFileName(entry.Name); Util.WriteStream(unzip, TempFileName); }