Noemax DotNetGZip Report an issue | Discuss in forums
GZipStream.Close() Method
See Also 
Noemax.GZip Assembly > Noemax.GZip Namespace > GZipStream 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 GZipStream
 
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.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

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