Example #1
0
        public static ZipFileSystem Open(FileStream s)
        {
            var fileSystem = new ZipFileSystem(new ZipFile(s), Path.GetFullPath(s.Name));

            fileSystem.PhysicalRoot = Path.GetFullPath(s.Name);
            return(fileSystem);
        }
Example #2
0
        public static ZipFileSystem Open(FileStream s)
        {
            var fileSystem = new ZipFileSystem(new ZipArchive(s), Path.GetFullPath(s.Name));

            return(fileSystem);
        }