

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.

C# | Visual Basic | Visual C++ |
public abstract bool IsArchive( Stream stream )
Public MustOverride Function IsArchive ( stream As Stream ) As Boolean
public: virtual bool IsArchive( Stream^ stream ) abstract

- stream (Stream)
- Stream for reading the archive file.

Boolean
True if the stream is a valid archive (with no offset); false otherwise.
True if the stream is a valid archive (with no offset); false otherwise.
Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.9.1006.0)