DirectoryInfoExtensionsCreateZipFile Method

Overload List

CreateZipFile(DirectoryInfo) Creates a zip archive that contains the files and directories from the specified directory, using the source folder name to create the zip file, with Optimal compression level and UTF8 character encoding for entry name.
CreateZipFile(DirectoryInfo, CompressionLevel) Creates a zip archive that contains the files and directories from the specified directory, using the source folder name to create the zip file, with the specified compression level and UTF8 character encoding for entry name.
CreateZipFile(DirectoryInfo, FileInfo) Creates a zip archive that contains the files and directories from the specified directory, using the specified filepath to create the zip file, with Optimal compression level and UTF8 character encoding for entry name.
CreateZipFile(DirectoryInfo, String) Creates a zip archive that contains the files and directories from the specified directory, using the specified filepath to create the zip file, with Optimal compression level and UTF8 character encoding for entry name.
CreateZipFile(DirectoryInfo, CompressionLevel, Encoding) Creates a zip archive that contains the files and directories from the specified directory, using the source folder name to create the zip file, with the specified compression level and character encoding for entry name.
CreateZipFile(DirectoryInfo, FileInfo, CompressionLevel) Creates a zip archive that contains the files and directories from the specified directory, using the specified filepath to create the zip file, with the specified compression level and UTF8 character encoding for entry name.
CreateZipFile(DirectoryInfo, String, CompressionLevel) Creates a zip archive that contains the files and directories from the specified directory, using the specified filepath to create the zip file, with the specified compression level and UTF8 character encoding for entry name.
CreateZipFile(DirectoryInfo, FileInfo, CompressionLevel, Encoding) Creates a zip archive that contains the files and directories from the specified directory, using the specified filepath to create the zip file, with the specified compression level and character encoding for entry name.
CreateZipFile(DirectoryInfo, String, CompressionLevel, Encoding) Creates a zip archive that contains the files and directories from the specified directory, using the specified filepath to create the zip file, with the specified compression level and character encoding for entry name.

See Also