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 SourceUpdateMode
Get the FileUpdateMode to apply during updates.
Declaration
FileUpdateMode UpdateMode { get; }
Property Value
Type | Description |
---|---|
FileUpdateMode |
Methods
| Improve this Doc View SourceConvertTemporaryToFinal()
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
| Improve this Doc View SourceDispose()
Dispose of this instance.
Declaration
void Dispose()
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
| Improve this Doc View SourceMakeTemporaryCopy(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. |
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.