コード例 #1
0
 public void GetZipEntryExisting()
 {
     using (ZipManager zipMgr = new ZipManager(@"E:\Data\S1\SRC\S1A_IW_SLC__1SDV_20190711T034707_20190711T034737_028064_032B5E_9546.zip"))
     {
         zipMgr.GoThrogh();
     }
     Assert.AreEqual(true, true);
 }
コード例 #2
0
        static void Main(string[] args)
        {
            using (ZipManager zipMgr = new ZipManager(@"E:\Data\S1\SRC\S1A_IW_SLC__1SDV_20190711T034707_20190711T034737_028064_032B5E_9546.zip"))
            {
                var annotationFolder = zipMgr.GetFoldersStructure().Where(f => f.EndsWith("annotation/")).FirstOrDefault();
                if (!string.IsNullOrEmpty(annotationFolder))
                {
                    var filse = zipMgr.GetFileNamesFormFolder(annotationFolder).ToArray();
                }


                var zipEntry = zipMgr.GetEntry("s1a-iw1-slc-vh-20190711t034707-20190711t034735-028064-032b5e-001.xml");

                zipMgr.GoThrogh();
            }
        }