ZipFile::CreateFromDirectory Method
Creates a zip archive that contains the files and directories from the specified directory.
Assembly: System.IO.Compression.FileSystem (in System.IO.Compression.FileSystem.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | CreateFromDirectory(String^, String^) | Creates a zip archive that contains the files and directories from the specified directory. |
![]() ![]() | CreateFromDirectory(String^, String^, CompressionLevel, Boolean) | Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level, and optionally includes the base directory. |
![]() ![]() | CreateFromDirectory(String^, String^, CompressionLevel, Boolean, Encoding^) | Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level and character encoding for entry names, and optionally includes the base directory. |

