Show / Hide Table of Contents

Interface IArchiveStorage

Defines facilities for data storage when updating Zip Archives.

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

Properties

| Improve this Doc View Source

UpdateMode

Get the FileUpdateMode to apply during updates.

Declaration
FileUpdateMode UpdateMode { get; }
Property Value
Type Description
FileUpdateMode

Methods

| Improve this Doc View Source

ConvertTemporaryToFinal()

Convert a temporary output stream to a final stream.

Declaration
Stream ConvertTemporaryToFinal()
Returns
Type Description
System.IO.Stream

The resulting final System.IO.Stream

See Also
GetTemporaryOutput()
| Improve this Doc View Source

Dispose()

Dispose of this instance.

Declaration
void Dispose()
| Improve this Doc View Source

GetTemporaryOutput()

Get an empty System.IO.Stream that can be used for temporary output.

Declaration
Stream GetTemporaryOutput()
Returns
Type Description
System.IO.Stream

Returns a temporary output System.IO.Stream

See Also
ConvertTemporaryToFinal()
| Improve this Doc View Source

MakeTemporaryCopy(Stream)

Make a temporary copy of the original stream.

Declaration
Stream MakeTemporaryCopy(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream

The System.IO.Stream to copy.

Returns
Type Description
System.IO.Stream

Returns a temporary output System.IO.Stream that is a copy of the input.

| Improve this Doc View Source

OpenForDirectUpdate(Stream)

Return a stream suitable for performing direct updates on the original source.

Declaration
Stream OpenForDirectUpdate(Stream stream)
Parameters
Type Name Description
System.IO.Stream stream

The current stream.

Returns
Type Description
System.IO.Stream

Returns a stream suitable for direct updating.

Remarks

This may be the current stream passed.

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