SslStream.Write Method (Byte)
Writes the specified data to this stream.
Assembly: System (in System.dll)
buffer is a null reference (Nothing in Visual Basic).
The write operation failed.
There is already a write operation in progress.
This object has been closed.
Authentication has not occurred.
This method blocks while the operation completes. To prevent blocking while the operation completes, use the BeginWrite method.
You cannot call this method until you have successfully authenticated. To authenticate call one of the AuthenticateAsClient, or BeginAuthenticateAsClient, AuthenticateAsServer, BeginAuthenticateAsServer methods.
The SslStream class does not support multiple simultaneous write operations.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.