Deployment Tools Foundation
IsArchive Method (stream)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.Compression ► CompressionEngine ► IsArchive(Stream)
Checks whether a Stream begins with a header that indicates
it is a valid archive.
Declaration Syntax
Parameters
- stream (Stream)
- Stream for reading the archive file.
Return Value
True if the stream is a valid archive
(with no offset); false otherwise.