Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET Get an entry in a ZipArchive by index?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20128 |

    Is there a way to get entries in a zip file by index? I want to be able to access the zipped files in the actual order that they are stored in the zip file, but ZipArchive.GetFiles() returns an array that is sorted by the file name.  This is a silly example, but I’d like to be able to do something like:

    public ZippedFile GetZipEntry(ZipArchive za, int entry_num)

    {

        ZippedFile zf = za[entry_num];

        return zf;

    }

    Obviously this doesn’t work, but is there another way to access an entry in a zip archive by its index value?

    -Steve

    Imported from legacy forums. Posted by Steve (had 2073 views)

    User (Old forums)
    Member
    Post count: 23064

    This is not possible with our control.

    Imported from legacy forums. Posted by André (had 2694 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.