Extracts the files and folders contained in the specified zip file to the specified folder.

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
void UnzipFile(
	IFileInfo file,
	IFolderInfo destinationFolder
)
Visual Basic
Sub UnzipFile ( 
	file As IFileInfo,
	destinationFolder As IFolderInfo
)

Parameters

file
Type: DotNetNuke.Services.FileSystem..::..IFileInfo
The file to unzip.
destinationFolder
Type: DotNetNuke.Services.FileSystem..::..IFolderInfo
The folder to unzip to.

Return Value

Total files count in the zip file.

See Also