UnpackFile Method (fileName, destFileName)

Microsoft Deployment Tools

Deployment Tools Foundation UnpackFile Method (fileName, destFileName)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveInfoUnpackFile(String, String)
Extracts a single file from the archive.
Declaration Syntax
C# Visual Basic Visual C++
public void UnpackFile(
	string fileName,
	string destFileName
)
Public Sub UnpackFile ( _
	fileName As String, _
	destFileName As String _
)
public:
void UnpackFile(
	String^ fileName, 
	String^ destFileName
)
Parameters
fileName (String)
The name of the file in the archive. Also includes the internal path of the file, if any. File name matching is case-insensitive.
destFileName (String)
The path where the file is to be extracted on disk.
Remarks
If destFileName already exists, it will be overwritten.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression) Version: 3.0.0.0 (3.5.1623.0)