Dynamicweb 8 Documentation
ZipFolder(DirectoryInfo,FileInfo) Method

The folder which content will be compressed
The destination zip file
Zips the content of a folder
Syntax
'Declaration
 
Public Overloads Shared Function ZipFolder( _ 
   ByVal folder As DirectoryInfo, _ 
   ByVal zipFile As FileInfo _ 
) As Boolean
public static bool ZipFolder( 
   DirectoryInfo folder,
   FileInfo zipFile 
)

Parameters

folder
The folder which content will be compressed
zipFile
The destination zip file
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ZipFile Class
ZipFile Members
Overload List

Send Feedback