Close the stream.

C# | Visual Basic | Visual C++ |
public override void Close()
Public Overrides Sub Close
public: virtual void Close() override

This may or may not close the underlying stream. Check the constructors that accept a bool value.