Share via


Stream.Dispose Method

Releases all resources used by the current Stream object.

Overload List

Name Description
Stream.Dispose () Releases all resources used by the current Stream object.
Stream.Dispose (Boolean) Releases the unmanaged resources used by the current Stream object, and optionally releases the managed resources also.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

Stream Class
Stream Members
System.IO Namespace