## NetworkStream::Close method


Closes the current instance after the specified time expires.

```cpp
void System::Net::Sockets::NetworkStream::Close(int timeout)
```


| Parameter | Type | Description |
| --- | --- | --- |
| timeout | int | A number of milliseconds to wait. |

## See Also

* Class [NetworkStream](../)
* Namespace [System::Net::Sockets](../../)
* Library [Aspose.PDF for C++](../../../)
