SetArchiveOutputStream Method

The stream to write the zip, tar, jar, or gzip archive to.

Syntax

public void SetArchiveOutputStream(System.IO.Stream archiveStream);
Public Sub SetArchiveOutputStream(ByVal ArchiveStream As System.IO.Stream)

Remarks

This method should be set when the archive is to be written to a stream when Compress is called.

By default, and when this is set to null, the component will write to the file specified by ArchiveFile. However, when this is a valid stream, the data will be written to the stream.

.NET Standard Notes

To call this method in an asynchronous manner call SetArchiveOutputStreamAsync instead. When the method completes (or an error is encountered) the SetArchiveOutputStreamCompleted event will fire.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks ZIP 2020 .NET Edition - Version 20.0 [Build 7720]