Dynamicweb.Content.Files Namespace > ZipFile Class > ZipFolder Method : ZipFolder(DirectoryInfo,String) Method |
'Declaration
Public Overloads Shared Function ZipFolder( _ ByVal folder As DirectoryInfo, _ ByVal zipFileName As String _ ) As Boolean
public static bool ZipFolder( DirectoryInfo folder, string zipFileName )
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