Noemax DotNetGZip Report an issue | Discuss in forums
DeflateStream.Close() Method
See Also 
Noemax.GZip Assembly > Noemax.GZip Namespace > DeflateStream Class : Close Method



Flushes the content of internal buffer and closes the current stream.


Namespace: Noemax.GZip
Assembly: Noemax.GZip (in Noemax.GZip.dll)

Syntax

Visual Basic (Declaration) 
Overrides Public Sub Close() 
Visual Basic (Usage)Copy Code
Dim instance As DeflateStream
 
instance.Close()
C# 
public override void Close()
C++/CLI 
public:
void Close(); override 

Remarks

If this stream had been initialized with leaveOpen set to true, the underlying stream remains open after this method is called, otherwise the underlying stream is also closed.

If Finish has not yet been called, Close will call Finish before closing the stream. Do not close the underlying stream before closing this stream.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

DeflateStream Class
DeflateStream Members
Base Implementation in System.IO.Stream
GZipStream Constructor