Click or drag to resize

SevenZipWorkerZipDirectory method

Packs everything from the inputFolderPath directory into the archive zipPathAndFile incl. subdirectory structures.

Namespace: NetEti.FileTools.Zip
Assembly: NetEti.ZipAccess (in NetEti.ZipAccess.dll) Version: 1.0.0+90532d84a01ea1dad6525ec1859a76670aba8306
Syntax
public Cunning<ZippedFileInfo> ZipDirectory(
	
	string inputFolderPath,
	
	string zipPath,
	
	string? password,
	
	bool packRootAsDir
)

Parameters

inputFolderPath  String
The directory with the data to be packed.
zipPath  String
The zip archive to be created.
password  String
An optional password.
packRootAsDir  Boolean
If true, create the folder in the zip file.

Return value

CunningZippedFileInfo
List<ZippedFileInfo> = Info about all archive entries.
See also