ComponentOne Zip for .NET 2.0
C1.Zip Assembly / C1.Zip Namespace / C1ZipFile Class / IsZipFile Method / IsZipFile(String) Method
Name of the file to test.

In This Topic
    IsZipFile(String) Method
    In This Topic
    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