Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Archive extraction should be cancelable #198

Open
Yelo420 opened this issue Jul 25, 2023 · 0 comments
Open

Archive extraction should be cancelable #198

Yelo420 opened this issue Jul 25, 2023 · 0 comments

Comments

@Yelo420
Copy link

Yelo420 commented Jul 25, 2023

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant