Exemple #1
0
 public ZipEntry(string name)
 {
     this.cal = System.DateTime.Now;
     this.known = 0;
     this.method = Framework.Helpers.ZipLib.CompressionMethod.Deflated;
     this.extra = null;
     this.comment = null;
     this.zipFileIndex = -1;
     if (name == null)
     {
         throw new ArgumentNullException("name");
     }
     this.name = name;
 }
Exemple #2
0
 public ZipEntry(ZipEntry e)
 {
     this.cal = System.DateTime.Now;
     this.known = 0;
     this.method = Framework.Helpers.ZipLib.CompressionMethod.Deflated;
     this.extra = null;
     this.comment = null;
     this.zipFileIndex = -1;
     this.name = e.name;
     this.known = e.known;
     this.size = e.size;
     this.compressedSize = e.compressedSize;
     this.crc = e.crc;
     this.method = e.method;
     this.extra = e.extra;
     this.comment = e.comment;
 }