I would like to setup a progress bar during unzipping a zip and for updating the progressbar with the progress I need to have number of entries in a given zip file. The problem is that GetEntries method in ZipReader is internal in scope to the class and can not be call. This leaves me no other option but to iterate through all the entries in the zip file in order to get the count. Can someone please tell me if there is a more efficient way to do this?
↧