ZipReader.Extract Method
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9119)
Extract(String)
Extracts the current file item into a local file.
Declaration
public void Extract(string targetFilePath)
Parameters
Type | Name | Description |
---|---|---|
String | targetFilePath | Path to a (non-existing) local file where to extract the file item. |
Extract(String, ActionOnExistingFiles)
Extracts the current file item into a local file.
Declaration
public void Extract(string targetFilePath, ActionOnExistingFiles defaultActionOnExistingFiles)
Parameters
Type | Name | Description |
---|---|---|
String | targetFilePath | Path to a (non-existing) local file where to extract the file item. |
ActionOnExistingFiles | defaultActionOnExistingFiles | Specifies the default behavior for files that already exists in the local directory. |
Extract(Stream)
Extracts the current file item to the specified stream.
Declaration
public void Extract(Stream outputStream)
Parameters
Type | Name | Description |
---|---|---|
Stream | outputStream | Stream to write the extracted data to. |
Remarks
Note that data will be written to the current output stream position.