Tests whether a file is a valid zip file.

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

Syntax

C#
public static bool IsZipFile(
	string fileName
)
Visual Basic
Public Shared Function IsZipFile ( _
	fileName As String _
) As Boolean

Parameters

fileName
Type: System..::..String
Name of the file to test.

Return Value

True if the file exists and is a valid zip file, false otherwise.

See Also