ZipItem.Open Method
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9119)
Open(String)
Returns an initialized read-only non-seekable stream to read the decompressed data of the current item.
Declaration
public override Stream Open(string password)
Parameters
Type | Name | Description |
---|---|---|
String | password | Password to open the stream. |
Returns
Type | Description |
---|---|
Stream | A read-only non-seekable decompression stream. |
Overrides
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The item is not a file. -or- The item is already deleted. |
ZipException | Cannot perform the requested operation, or the operation was canceled (see ProblemType for detailed information). |
Open()
Returns an initialized read-only non-seekable stream to read the decompressed data of the current item. Inherited from ArchiveItem.
Declaration
public virtual Stream Open()
Returns
Type | Description |
---|---|
Stream | A decompression stream. |