GetFileInfo Method (stream)

DTF API

Copy image CopyHover image
Deployment Tools Foundation GetFileInfo Method (stream)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionCompressionEngineGetFileInfo(Stream)
Gets information about all files in an archive stream.
Declaration Syntax
C# Visual Basic Visual C++ F#
public IList<ArchiveFileInfo> GetFileInfo(
	Stream stream
)
Public Function GetFileInfo ( 
	stream As Stream
) As IList(Of ArchiveFileInfo)
public:
IList<ArchiveFileInfo^>^ GetFileInfo(
	Stream^ stream
)
member GetFileInfo : 
        stream : Stream -> IList<ArchiveFileInfo> 
Parameters
stream (Stream)
A stream for reading the archive.
Return Value
IList<(Of <(<'ArchiveFileInfo>)>)>
Information about all files in the archive stream.
Exceptions
Exception Condition
ArchiveException The stream is not a valid archive.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)