Is there any simple method to test an rar/zip/7z…is password protected?
I use the following method to know whether an archive is password protected like this:
Dim Stream As IO.Stream = ArchiveEntry.Open()
if Stream is nothing then ArchiveIsProtected =true.
Is this method a simple and right one?
hope to get your suggestion!
Another issue is that:
How to display the compressing progress information when compresses a big file such as finished ratio,compressed size,left size,time elapse,time left, compressing speed,compress ratio…