Show / Hide Table of Contents

Interface IDynamicDataSource

Represents a source of data that can dynamically provide multiple System.IO.Stream based on the parameters passed.

Namespace: ICSharpCode.SharpZipLib.Zip
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public interface IDynamicDataSource

Methods

| Improve this Doc View Source

GetSource(ZipEntry, String)

Get a data source.

Declaration
Stream GetSource(ZipEntry entry, string name)
Parameters
Type Name Description
ZipEntry entry

The ZipEntry to get a source for.

System.String name

The name for data if known.

Returns
Type Description
System.IO.Stream

Returns a System.IO.Stream to use for compression input.

Remarks

Ideally a new stream is created and opened to achieve this, to avoid locking problems.

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2000-2022 SharpZipLib Contributors