IsArchive Method (stream)

Microsoft Deployment Tools

Deployment Tools Foundation IsArchive Method (stream)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.Compression.CabCabEngineIsArchive(Stream)
Checks whether a Stream begins with a header that indicates it is a valid cabinet file.
Declaration Syntax
C# Visual Basic Visual C++
public override bool IsArchive(
	Stream stream
)
Public Overrides Function IsArchive ( _
	stream As Stream _
) As Boolean
public:
virtual bool IsArchive(
	Stream^ stream
) override
Parameters
stream (Stream)
Stream for reading the cabinet file.
Return Value
True if the stream is a valid cabinet file (with no offset); false otherwise.

Assembly: Microsoft.Deployment.Compression.Cab (Module: Microsoft.Deployment.Compression.Cab) Version: 3.0.0.0 (3.5.1623.0)