Interface IZipArchiveEx

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll

Provides access to methods and properties to create and manage 7-zip archives.

[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("F088433D-0167-4866-A846-55CAB2FB76B0")]
public interface IZipArchiveEx : IZipArchive

Methods

AddFile(string)

void AddFile(string inputFile)

Parameters

inputFile string

AddFileEx(string, string)

Compresses a file and adds it to the archive preserving the sub-folder off the root folder.

void AddFileEx(string inputFile, string rootFolder)

Parameters

inputFile string
rootFolder string

AddFolder(string, bool)

Compress a folder and add it to the archive.

void AddFolder(string inputFolder, bool recursive)

Parameters

inputFolder string
recursive bool

CloseArchive()

void CloseArchive()

CreateArchive(string)

void CreateArchive(string archiveName)

Parameters

archiveName string

Extract(string)

void Extract(string outputDir)

Parameters

outputDir string

ExtractFile(string, string)

void ExtractFile(string file, string outputDir)

Parameters

file string
outputDir string

GetFileNames()

IEnumBSTR GetFileNames()

Returns

IEnumBSTR

OpenArchive(string)

void OpenArchive(string archiveName)

Parameters

archiveName string