GetFiles Method (stream)

DTF API

Copy image CopyHover image
Deployment Tools Foundation GetFiles Method (stream)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionCompressionEngineGetFiles(Stream)
Gets the list of files in an archive Stream.
Declaration Syntax
C# Visual Basic Visual C++ F#
public IList<string> GetFiles(
	Stream stream
)
Public Function GetFiles ( 
	stream As Stream
) As IList(Of String)
public:
IList<String^>^ GetFiles(
	Stream^ stream
)
member GetFiles : 
        stream : Stream -> IList<string> 
Parameters
stream (Stream)
A stream for reading the archive.
Return Value
IList<(Of <(<'String>)>)>
A list of the paths of all files contained in the archive.
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)