Skip to main content
.NET Framework 4.5.2+

ZipArchive.AddDirectory Method

Name Parameters Description
AddDirectory(String, String) path, archivePath Recursively add files and directories to the archive.
AddDirectory(String) path Recursively add files and directories to the archive directory named by the last component of the specified path.