BuildMaster SDK Reference
Version:
ExtractZip(System.IO.Stream zipStream, string targetDirectory, System.Predicate<System.IO.Compression.ZipArchiveEntry> shouldExtract) Method
Extracts a zip file to the specified directory.
Syntax
public
static
void ExtractZip(System.IO.Stream zipStream, string targetDirectory, Predicate<System.IO.Compression.ZipArchiveEntry> shouldExtract)
Parameters
- zipStream
- Type: System.IO.Stream
The backing stream 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).