Deployment Tools Foundation
IsArchive Method (stream)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression.Cab ► CabEngine ► IsArchive(Stream)
Checks whether a Stream begins with a header that indicates
it is a valid cabinet file.
Declaration Syntax
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.