Deployment Tools Foundation
GetArchiveName Method (archiveNumber)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► ArchiveFileStreamContext ► GetArchiveName(Int32)
Gets the name of the archive with a specified number.
![](collapse_all.gif)
![](collapse_all.gif)
- archiveNumber (Int32)
- The 0-based index of the archive within the chain.
![](collapse_all.gif)
The name of the requested archive. May be an empty string
for non-chained archives, but may never be null.
![](collapse_all.gif)
This method returns the file name of the archive from the
archiveFiles()()() list with the specified index, or an empty
string if the archive number is outside the bounds of the list. The
file name should not include any directory path.