.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ZipStreamItem.ContentStream Property

Gets or sets the content of the zip stream item.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v21.1.dll

Declaration

public Stream ContentStream { get; set; }

Property Value

Type Description
Stream

A Stream object that is the content of a zip item.

Remarks

The ContentStream enables you to specify the stream to pack into the archive as the zip item. The specified stream is not closed and disposed automatically.

You can also use the ZipArchive.AddStream method to create a ZipStreamItem and add it to the archive.

See Also