CreateZipFile(DirectoryInfo, string) 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, string destinationArchiveFileName)

Parameters

this
Type:  DirectoryInfo
The @this to act on.
destinationArchiveFileName
Type:  String
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)