The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Stream.Synchronized Method (Stream)
.NET Framework (current version)
Creates a thread-safe (synchronized) wrapper around the specified Stream object.
mscorlib (in mscorlib.dll)
[HostProtectionAttribute(SecurityAction.LinkDemand, Synchronization = true)]
public static Stream Synchronized(
This method returns a class that wraps the specified Stream object and restricts access to it from multiple threads. All access to the Stream object will be thread safe.
Return to top
Available since 2.0