C# | Visual Basic | Visual C++ |
public void Extract()
Public Sub Extract
public: void Extract()
This method extracts an entry from a zip file into the current working directory. The path of the entry as extracted is the full path as specified in the zip archive, relative to the current working directory. After the file is extracted successfully, the file attributes and timestamps are set.
The action taken when extraction an entry would overwrite an existing file is determined by the ExtractExistingFile property.
Within the call to Extract(), the content for the entry is written into a filesystem file, and then the last modified time of the file is set according to the LastModified property on the entry. See the remarks the LastModified property for some details about the last modified time.