Share via


NetworkStream Constructor

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

Creates a new instance of the NetworkStream class.

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

Overload List

  Name Description
Public method NetworkStream(Socket) Creates a new instance of the NetworkStream class for the specified Socket.
Public method NetworkStream(Socket, Boolean) Initializes a new instance of the NetworkStream class for the specified Socket with the specified Socket ownership.

Top

See Also

Reference

NetworkStream Class

System.Net.Sockets Namespace