Deployment Tools Foundation
Pack Method (sourceDirectory)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► ArchiveInfo ► Pack(String)
Compresses all files in a directory into the archive.
Does not include subdirectories.
Declaration Syntax
Parameters
- sourceDirectory (String)
- The directory containing the files to be included.
Remarks
Uses maximum compression level.