Close Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Close()()()() Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed. (Inherited from Stream.)
Public method Close(Int32) Closes the NetworkStream after waiting the specified time to allow data to be sent.
Top
Show: