Create a thread safe stream.
Namespace: NetworkCommsDotNet.ToolsAssembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
Parameters
- stream
- Type: System.IO Stream
The stream to make thread safe.
- closeStreamAfterSend
- Type: System Boolean
If true the provided stream will be disposed once data has been written to the network. If false the stream must be disposed of correctly by the user
See Also