Assembly: IO;
Namespace: Prognoz.Platform.Interop.ForeIO;
The IZipArchive interface contains properties and methods that are used to work with ZIP archive.
IZipArchive
To work with ZIP archive, initialize a new object using the ZipArchive.Create constructor. To add objects to the new archive, use various Add* methods. After the archive is created, free it using the Dispose operator.
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: