Returns an initialized read-only non-seekable stream to read the decompressed data of the current item.
Namespace:
Rebex.IO.Compression
Assembly:
Rebex.Zip (in Rebex.Zip.dll)
Syntax
Visual Basic |
---|
Public Overrides Function Open ( _ password As String _ ) As Stream |
C# |
---|
public override Stream Open( string password ) |
Parameters
- password
- Type: System..::..String
Password to open the stream.
Return Value
A read-only non-seekable decompression stream.Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | The item is not a file. -or- The item is already deleted. |
Rebex.IO.Compression..::..ZipException | Cannot perform the requested operation, or the operation was canceled (see ProblemType for detailed information). |