IZipArchiveEx Interface

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

Members

Name Description
Method AddFile Compresses a file and adds it to the archive.
Method AddFileEx Compresses a file and adds it to the archive preserving the sub-folder off the root folder.
Method AddFolder Compress a folder and add it to the archive.
Method CloseArchive Closes the archive.
Method CreateArchive Creates a new archive.
Method Extract Extracts all items in the archive to the output directory.
Method ExtractFile Extracts a file from the archive to the output directory.
Method GetFileNames Obtains the list of files in the archive.
Method OpenArchive Opens an existing archive.

IZipArchiveEx.AddFileEx Method

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

Public Sub AddFileEx ( _
    ByVal inputFile As String, _
    ByVal rootFolder As String _
)
public void AddFileEx (
    string inputFile,
    string rootFolder
);

IZipArchiveEx.AddFolder Method

Compress a folder and add it to the archive.

Public Sub AddFolder ( _
    ByVal inputFolder As String, _
    ByVal recursive As Boolean _
)
public void AddFolder (
    string inputFolder,
    bool recursive
);

Inherited Interfaces

Interfaces Description
IZipArchive Provides access to methods and properties to create and manage zip archives.

Classes that implement IZipArchiveEx

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.