ZipArchive

Assembly: IO;

Namespace: Prognoz.Platform.Interop.ForeIO;

Description

The ZipArchive class implements the object that is used to work with ZIP archives.

Fore.NET Syntax

Class to get analog of the ZipArchive class:

None;

Class to get analog of the ZipArchive class object:

ZipArchiveClass;

Constructors

  Constructor name Brief description
Create The Create constructor initializes a new object to work with ZIP archive.

Class object properties inherited from IZipArchive

  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.

Class object methods inherited from IZipArchive

  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:

IO Assembly Classes