Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ZipItem.Open Method

Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9147)

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
ArchiveItem.Open(String)
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.

In This Article
  • Open(String)
  • Open()
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies