 | ZipZipDirectory method |
Packs everything from the inputFolderPath directory into the archive
zipPathAndFile incl. subdirectory structures.
Namespace: NetEti.FileTools.ZipAssembly: NetEti.ZipAccess (in NetEti.ZipAccess.dll) Version: 1.0.0+90532d84a01ea1dad6525ec1859a76670aba8306
Syntaxpublic Cunning<ZippedFileInfo> ZipDirectory(
string inputFolderPath,
string zipPathAndFile,
string? password,
bool packRootAsDir
)
Public Function ZipDirectory (
inputFolderPath As String,
zipPathAndFile As String,
password As String,
packRootAsDir As Boolean
) As Cunning(Of ZippedFileInfo)
public:
virtual Cunning<ZippedFileInfo^>^ ZipDirectory(
String^ inputFolderPath,
String^ zipPathAndFile,
String^ password,
bool packRootAsDir
) sealed
abstract ZipDirectory :
inputFolderPath : string *
zipPathAndFile : string *
password : string *
packRootAsDir : bool -> Cunning<ZippedFileInfo>
override ZipDirectory :
inputFolderPath : string *
zipPathAndFile : string *
password : string *
packRootAsDir : bool -> Cunning<ZippedFileInfo> 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
CunningZippedFileInfoList<ZippedFileInfo> = Info about all archive entries.
See also