- buffer
- A byte array that supplies the bytes written to the stream.
This method blocks while the operation completes. To prevent blocking while the operation completes, use the SslStream.BeginWrite(Byte[], int, int, AsyncCallback, object) method.
You cannot call this method until you have successfully authenticated. To authenticate call one of the erload:System.Net.Security.SslStream.AuthenticateAsClient, or erload:System.Net.Security.SslStream.BeginAuthenticateAsClient, erload:System.Net.Security.SslStream.AuthenticateAsServer, erload:System.Net.Security.SslStream.BeginAuthenticateAsServer methods.
The System.Net.Security.SslStream class does not support multiple simultaneous write operations.