SevenZipSharp icon indicating copy to clipboard operation
SevenZipSharp copied to clipboard

Archive extraction should be cancelable

Open Yelo420 opened this issue 1 year ago • 0 comments

I have the problem that I would like to cancel the extraction process of the SevenZipExtractor.

Either via the extractor itself: Something like SevenZipExtractor.CancelExtraction();

Or via the ProgressEventArgs in the SevenZipExtractor.Extracting event:

private void ExtractionProgress(object sender, ProgressEventArgs e)
{       
       if (e.PercentDone > 50)
       {
            e.Cancel = true;
       }
}

Is there possibly already a workaround?

Yelo420 avatar Jul 25 '23 13:07 Yelo420