Version:
ExtractZip(string zipFile, string targetDirectory, System.Predicate<System.IO.Compression.ZipArchiveEntry> shouldExtract) Method
Extracts a zip file to the specified directory.
Syntax
public
static
void ExtractZip(string zipFile, string targetDirectory, Predicate<System.IO.Compression.ZipArchiveEntry> shouldExtract)
Parameters
- zipFile
- Type: string
The path of the zip file to extract.
- targetDirectory
- Type: string
The directory to extract the zip file to.
- shouldExtract
- Type: System.Predicate<System.IO.Compression.ZipArchiveEntry>
Delegate invoked to determine if an entry should be extracted. May be null (Nothing in Visual Basic).