ComponentOne Zip for .NET 2.0
C1.Zip Assembly / C1.Zip 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
    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