NetworkStream Constructor
.NET Framework 4
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.
| Name | Description | |
|---|---|---|
|
NetworkStream(Socket) | Creates a new instance of the NetworkStream class for the specified Socket. |
|
NetworkStream(Socket, Boolean) | Initializes a new instance of the NetworkStream class for the specified Socket with the specified Socket ownership. |
|
NetworkStream(Socket, FileAccess) | Creates a new instance of the NetworkStream class for the specified Socket with the specified access rights. |
|
NetworkStream(Socket, FileAccess, Boolean) | Creates a new instance of the NetworkStream class for the specified Socket with the specified access rights and the specified Socket ownership. |