PDF for UWP | ComponentOne
C1.C1Zip Namespace / C1ZipFile Class / IsZipFile Method
System.IO.Stream to test.

In This Topic
    IsZipFile Method
    In This Topic
    Tests whether a stream contains a valid zip file.
    Syntax
    'Declaration
     
    
    Public 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