ExtractZipFileToDirectory(FileInfo, DirectoryInfo, Encoding) Method

Extracts all the files in the specified zip archive to a directory on the file system and uses the specified character encoding for entry names.
Namespace: Z.Compression.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static Void ExtractZipFileToDirectory(this FileInfo this, DirectoryInfo destinationDirectory, Encoding entryNameEncoding)

Parameters

this
Type:  FileInfo
The @this to act on.
destinationDirectory
Type:  DirectoryInfo
Pathname of the destination directory.
entryNameEncoding
Type:  Encoding
The encoding to use when reading or writing entry names in this archive. Specify a value for this parameter only when an encoding is required for interoperability with zip archive tools and libraries that do not support UTF-8 encoding for entry names.

Return Value

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