Zip for WPF and Silverlight
C1.C1Zip Namespace / C1ZipFile Class / IsZipFile Method / IsZipFile(Stream) Method
System.IO.Stream to test.

In This Topic
    IsZipFile(Stream) Method
    In This Topic
    Tests whether a stream contains a valid zip file.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function IsZipFile( _
       ByVal stream As Stream _
    ) As Boolean
    public static bool IsZipFile( 
       Stream stream
    )

    Parameters

    stream
    System.IO.Stream to test.

    Return Value

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