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];
Obviously this doesn’t work, but is there another way to access an entry in a zip archive by its index value?
Imported from legacy forums. Posted by Steve (had 2073 views)