Extracts all files from the compressed archive.
async gzip.extractAll(): Promise<void>
ExtractAll extracts all files from the archive. The file(s) will be extracted to the directory specified by ExtractToPath, and given the names found in the archive or specified by FileDecompressedName.
If Scan has not been invoked when ExtractAll is called, Scan will automatically be invoked, and the FileCompressedName and FileDecompressedName properties will be set to the values found in the archive. To manually set the decompressed filenames, Scan should be invoked before setting FileDecompressedName.
The BeginFile and EndFile events will be fired before and after each file is extracted, and the Progress event will be fired as the data is extracted. If WriteToProgressEvent is set to true, the decompressed data will be streamed out through the Progress event.
Example (Extracting from an Archive)
ZipControl.ArchiveFile = "c:\temp.zip" ZipControl.ExtractToPath = "c:\extracted\" ZipControl.ExtractAll()