ZipUtils.UnZipFiles Method
Unzips a file to a directory.
Namespace: Microsoft.Crm.UnifiedServiceDesk.CommonUtility
Assembly: Microsoft.Crm.UnifiedServiceDesk.CommonUtility (in Microsoft.Crm.UnifiedServiceDesk.CommonUtility.dll)
Usage
'Usage
Dim zipPathAndFile As String
Dim outputFolder As String
Dim returnValue As Boolean
returnValue = ZipUtils.UnZipFiles(zipPathAndFile, outputFolder)
Syntax
'Declaration
Public Shared Function UnZipFiles ( _
zipPathAndFile As String, _
outputFolder As String _
) As Boolean
public static bool UnZipFiles (
string zipPathAndFile,
string outputFolder
)
public:
static bool UnZipFiles (
String^ zipPathAndFile,
String^ outputFolder
)
public static boolean UnZipFiles (
String zipPathAndFile,
String outputFolder
)
public static function UnZipFiles (
zipPathAndFile : String,
outputFolder : String
) : boolean
Parameters
- zipPathAndFile
Specifies file to unzip.
- outputFolder
Specifies where to unzip it to.
Return Value
Type: Boolean
true if the unzip operation is successful; otherwise, false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
ZipUtils Class
ZipUtils Members
Microsoft.Crm.UnifiedServiceDesk.CommonUtility Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.