## TcpClient::GetStream method


Returns the stream that is used for sending and receiving data.

```cpp
System::SharedPtr<NetworkStream> System::Net::Sockets::TcpClient::GetStream()
```


### ReturnValue

The stream that is used for sending and receiving data.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [NetworkStream](../../networkstream/)
* Class [TcpClient](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
