Class ZipArchiveClass

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll
[Guid("3C1841DB-3625-464F-B216-41811A7E8A6C")]
[ClassInterface(ClassInterfaceType.None)]
public class ZipArchiveClass : ZipArchive, IZipArchive
Inheritance
ZipArchiveClass
Implements
Inherited Members

Constructors

ZipArchiveClass()

public ZipArchiveClass()

Explicit Interface Implementations

AddFile(string)

Compresses a file and adds it to the archive.

virtual void AddFile(string inputFile)

Parameters

inputFile string

CloseArchive()

Closes the archive.

virtual void CloseArchive()

CreateArchive(string)

Creates a new archive.

virtual void CreateArchive(string archiveName)

Parameters

archiveName string

Extract(string)

Extracts all items in the archive to the output directory.

virtual void Extract(string outputDir)

Parameters

outputDir string

ExtractFile(string, string)

Extracts a file from the archive to the output directory.

virtual void ExtractFile(string file, string outputDir)

Parameters

file string
outputDir string

GetFileNames()

Obtains the list of files in the archive.

virtual IEnumBSTR GetFileNames()

Returns

IEnumBSTR

OpenArchive(string)

Opens an existing archive.

virtual void OpenArchive(string archiveName)

Parameters

archiveName string