Hi,
It seems that I cannot get the benefit of ReceiveAsync when using SslStream since I will have to do the reading through SslStream, which only supports the Begin* End* async model.
Is it possible to just use SslStream until authentication is done, and from then on just access the socket directly? This means I would have to find out what level of security was negotiated, and then apply the correct encryption/decryption to the buffers myself. Encryption before sending, and decryption after receiving.
Is this doable?
Thanks!