Ends an asynchronous write operation started with a previous call to SslStream.BeginWrite(Byte[], int, int, AsyncCallback, object).
- asyncResult
- An IAsyncResult instance returned by a call to SslStream.BeginWrite(Byte[], int, int, AsyncCallback, object)
If the operation has not completed, this method blocks until it does.
An application 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.
To perform this operation synchronously, use the erload:System.Net.Security.SslStream.Write method.