Zip for WPF and Silverlight
C1.C1Zip 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
    'Declaration
     
    
    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