SslStream in .net 2
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Does anyone know where I can find any examples on using SslStream class from .net framework 2? I'm trying to do secure socket connection, but I'm not sure what are the steps necessary. I have a certificate file (.pem), but I'm not sure what steps to take. I tried using Socket TcpClient client = new TcpClient(); client.Connect(address, port); SslStream sslStream = new SslStream(client.GetStream()); but I'm not sure how to use the key file. I think I have to use X509Certificate class somewhere. Thanks.