Creates a thread-safe (synchronized) wrapper around the specified System.IO.Stream object.
- stream
- The System.IO.Stream object to synchronize.
A thread-safe System.IO.Stream object.
This method returns a class that wraps the specified System.IO.Stream object and restricts access to it from multiple threads. All access to the System.IO.Stream object will be thread safe.