Deployment Tools Foundation
Unpack Method (destDirectory, progressHandler)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► ArchiveInfo ► Unpack(String, EventHandler<(Of <(ArchiveProgressEventArgs>)>))
Extracts all files from an archive to a destination directory,
optionally extracting only newer files.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public void Unpack( string destDirectory, EventHandler<ArchiveProgressEventArgs> progressHandler )
Public Sub Unpack ( _ destDirectory As String, _ progressHandler As EventHandler(Of ArchiveProgressEventArgs) _ )
public: void Unpack( String^ destDirectory, EventHandler<ArchiveProgressEventArgs^>^ progressHandler )
Parameters
- destDirectory (String)
- Directory where the files are to be extracted.
- progressHandler (EventHandler<(Of <(ArchiveProgressEventArgs>)>))
- Handler for receiving progress information; this may be null if progress is not desired.