FindArchiveOffset Method (stream)

Microsoft Deployment Tools

Deployment Tools Foundation FindArchiveOffset Method (stream)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionCompressionEngineFindArchiveOffset(Stream)
Gets the offset of an archive that is positioned 0 or more bytes from the start of the Stream.
Declaration Syntax
C# Visual Basic Visual C++
public virtual long FindArchiveOffset(
	Stream stream
)
Public Overridable Function FindArchiveOffset ( _
	stream As Stream _
) As Long
public:
virtual long long FindArchiveOffset(
	Stream^ stream
)
Parameters
stream (Stream)
A stream for reading the archive.
Return Value
The offset in bytes of the archive, or -1 if no archive is found in the Stream.
Remarks
The archive must begin on a 4-byte boundary.

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