Determines whether specified stream contains a ZIP file.

Namespace: FirstFloor.Documents.IO
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public static bool IsZipFile(
	Stream stream
)
Visual Basic
Public Shared Function IsZipFile ( _
	stream As Stream _
) As Boolean
Visual C++
public:
static bool IsZipFile(
	Stream^ stream
)

Parameters

stream
Type: System.IO..::..Stream
The stream.

Return Value

true if stream is a ZIP file; otherwise, false.

See Also