SevenZipSharp
SevenZipSharp copied to clipboard
Got an IOException after first uncompress
When I run such pseudocode, I got an IOException, it seems that resource not released after first uncompress.
try
{
uncompress(archive_path, target);
}
catch (SevenZip.ExtractionFailedException e)
{
if (e.Message.Contains("password"))
{
InputBox inputBox = new InputBox();
inputBox.ShowDialog();
String password = inputBox.password;
if (password.Length > 0)
{
uncompress(archive_path, target, password);
}
}
}