CreateZipFile(DirectoryInfo, FileInfo) Method

Creates a zip archive that contains the files and directories from the specified directory.
Namespace: Z.Compression.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static Void CreateZipFile(this DirectoryInfo this, FileInfo destinationArchiveFile)

Parameters

this
Type:  DirectoryInfo
The @this to act on.
destinationArchiveFile
Type:  FileInfo
The path of the archive to be created, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.

Return Value

Type:  Void
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)