ExtractZipFileToDirectory(FileInfo, string, 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, string destinationDirectoryName, Encoding entryNameEncoding)

Parameters

this
Type:  FileInfo
The path to the archive that is to be extracted.
destinationDirectoryName
Type:  String
The path to the directory in which to place the extracted files, specified as a relative or absolute path. A relative path is interpreted as relative to the current working 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)