Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

NetworkStream.Close Method

Closes the NetworkStream object.

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

  NameDescription
Public method Close() Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (Inherited from Stream.)
Public method Close(Int32) Closes the NetworkStream after waiting the specified time to allow data to be sent.
Top

Community Additions

ADD
Show:
© 2015 Microsoft