private RenegotiationWriteCallback ( IAsyncResult asyncResult ) : void | ||
asyncResult | IAsyncResult | |
return | void |
private void RenegotiationWriteCallback(IAsyncResult asyncResult)
{
InternalAsyncResult readwriteAsyncResult = (InternalAsyncResult)asyncResult.AsyncState;
innerStream.EndWrite(asyncResult);
// Now start the read with the original asyncresult, as the ssl.Read will handle the renegoiation
InternalBeginRead(readwriteAsyncResult);
}