LS,
I was planning on writing a wrapper around the System.Net.Sockets.Socket class, because I don't feel like using the SSLStream class because of the negative impact on performance.
I found an article which does exactly what I want, but on Windows Mobile. (Link: Enable SSL for managed socket on windows mobile)
[Edit]
Apparently, there is no non-WinCE equivalent for the SO_SECURE socket option. So I'm wondering, is there an alternative for SslStream that uses raw sockets? Or is the only other way to go to implement most of it myself?
Kind regards,
Matthias Vance