ComponentOne Zip for .NET
IsZipFile(String) Method

C1.C1Zip.4 Assembly > C1.C1Zip Namespace > C1ZipFile Class > IsZipFile Method : IsZipFile(String) Method
Name of the file to test.
Tests whether a file is a valid zip file.
Syntax
Public Overloads Shared Function IsZipFile( _
   ByVal fileName As String _
) As Boolean
public static bool IsZipFile( 
   string fileName
)

Parameters

fileName
Name of the file to test.

Return Value

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

Reference

C1ZipFile Class
C1ZipFile Members
Overload List