Deployment Tools Foundation
GetFileInfo Method (stream)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► CompressionEngine ► GetFileInfo(Stream)
Gets information about all files in an archive stream.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public IList<ArchiveFileInfo> GetFileInfo( Stream stream )
Public Function GetFileInfo ( _ stream As Stream _ ) As IList(Of ArchiveFileInfo)
public: IList<ArchiveFileInfo^>^ GetFileInfo( Stream^ stream )
Parameters
- stream (Stream)
- A stream for reading the archive.
Return Value
Information about all files in the archive stream.
Exceptions
Exception | Condition |
---|---|
ArchiveException | The stream is not a valid
archive. |