Assembly: IO;
Namespace: Prognoz.Platform.Interop.ForeIO;
The ZipArchive class implements the object that is used to work with ZIP archives.
Class to get analog of the ZipArchive class:
None;
Class to get analog of the ZipArchive class object:
ZipArchiveClass;
Constructor name | Brief description | |
Create | The Create constructor initializes a new object to work with ZIP archive. |
Property name | Brief description | |
CompressionLevel | The CompressionLevel property determines an archive compression degree. | |
Count | The Count property returns the number of archive elements. | |
Item | The Item property returns information about archive element with the specified index. | |
ItemByName | The ItemByName property returns information about archive element with the specified name. | |
Path | The Path property returns the full path and archive name on the hard drive. |
Method name | Brief description | |
AddDirectory | The AddDirectory method adds the specified folder to archive with all contents. | |
AddFile | The AddFile method adds the specified file to archive. | |
AddFromStream | The AddFromStream method adds the file passed in the specified stream to archive. | |
Unpack | The Unpack method unpacks archive to the specified hard drive folder. |
See also: