protected override IFileSystem CreateArchiveFileSystem(File archiveFile)
 {
     SevenZipFileSystem archiveFs;
     if (archiveFile.FileSystem is PhysicalFileSystem)
         archiveFs = new SevenZipFileSystem(((PhysicalFileSystem)archiveFile.FileSystem).GetPhysicalPath(archiveFile.Path));
     else
     {
         Stream archiveStream = archiveFile.FileSystem.OpenFile(archiveFile.Path, FileAccess.Read);
         archiveFs = new SevenZipFileSystem(archiveStream);
     }
     return archiveFs;
 }
        protected override IFileSystem CreateArchiveFileSystem(File archiveFile)
        {
            SevenZipFileSystem archiveFs;

            if (archiveFile.FileSystem is PhysicalFileSystem)
            {
                archiveFs = new SevenZipFileSystem(((PhysicalFileSystem)archiveFile.FileSystem).GetPhysicalPath(archiveFile.Path));
            }
            else
            {
                Stream archiveStream = archiveFile.FileSystem.OpenFile(archiveFile.Path, FileAccess.Read);
                archiveFs = new SevenZipFileSystem(archiveStream);
            }
            return(archiveFs);
        }