Show / Hide Table of Contents

Class StaticDiskDataSource

Default implementation of a IStaticDataSource for use with files stored on disk.

Inheritance
System.Object
StaticDiskDataSource
Implements
IStaticDataSource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ICSharpCode.SharpZipLib.Zip
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public class StaticDiskDataSource : IStaticDataSource

Constructors

| Improve this Doc View Source

StaticDiskDataSource(String)

Initialise a new instance of StaticDiskDataSource

Declaration
public StaticDiskDataSource(string fileName)
Parameters
Type Name Description
System.String fileName

The name of the file to obtain data from.

Methods

| Improve this Doc View Source

GetSource()

Get a System.IO.Stream providing data.

Declaration
public Stream GetSource()
Returns
Type Description
System.IO.Stream

Returns a System.IO.Stream providing data.

Implements

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