Closed hcaihao closed 6 years ago
Checking if an archive is valid
In the new version v3.0.0, you can use the BitExtractor::test
method, which tests the input archive without extracting it and throws a BitException if it is not valid.
Earlier versions of bit7z (<=2.1) do not support archive testing.
Determining the archive file format See issue #16
Got it! thank you!
You're welcome!
And how to determine archive file format, such as a .rar file is RAR or RAR5?