TK.UnzipFile Method

Extracts all the files in the specified zip archive to a directory on the file system.
Public Shared Function UnzipFile( _ 
ByVal zipFileName As String, _ 
Optional ByVal destinationDirectoryName As String = null _ 
) As String
This language is not supported or no code example is available.
public static string UnzipFile( 
string zipFileName
string destinationDirectoryName = null 
)
This language is not supported or no code example is available.

Parameters

zipFileName
string

The zip file name that is to be extracted

destinationDirectoryName
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.

Return Value

string

If success returns null else string containg error

.NET Framework

Supported in: 4.6.2, 4.7

In this article

Definition