Beispiel #1
0
 public ZipArchiveStream(zip.ZipFile zf, zip.ZipEntry ze)
 {
     this.zis = zf.GetInputStream(ze);
     this.length = ze.Size;
     this.zf = zf;
     this.ze = ze;
 }
Beispiel #2
0
 public static bool check(string fname)
 {
     zip.ZipFile zf;
     try {
         zf = new zip.ZipFile(fname);
     } catch(Exception) { return false; }
     zf.Close();
     return true;
 }
Beispiel #3
0
 public ZipArchive(string fname)
 {
     zf = new zip.ZipFile(fname);
 }