Tests whether a stream contains a valid zip file.
Namespace:
C1.C1ZipAssembly: C1.Silverlight.Zip (in C1.Silverlight.Zip.dll)
Syntax
C# |
---|
public static bool IsZipFile( Stream stream ) |
Visual Basic |
---|
Public Shared Function IsZipFile ( _ stream As Stream _ ) As Boolean |
Parameters
- stream
- Type: System.IO..::..Stream
Stream to test.