Click or drag to resize

ICSharpWorkerZipDirectory 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 zipPathAndFile,
	
	string? password,
	
	bool packRootAsDir
)

Parameters

inputFolderPath  String
The directory with the data to be packed
zipPathAndFile  String
The zip archive
password  String
An optional password
packRootAsDir  Boolean
Create the folder in the zip file

Return value

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