Tests whether a stream contains a valid zip file.

Namespace:  C1.C1Zip
Assembly:  C1.Silverlight.Zip (in C1.Silverlight.Zip.dll)

Syntax

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

Parameters

stream
Type: System.IO..::..Stream
Stream to test.

Return Value

True if stream contains a valid zip file, false otherwise.

See Also