secure socket programming

  • Thread starter Thread starter laimis
  • Start date Start date
L

laimis

Hey guys,

Has anyone here done done socket programming with c# where you would connect
to secure server over SSL? After numerious searches online on google, I am
almost to the point where I believe that .net framework doesn't have any
classes for SSL sockets. Is that true?

So if I want to make connections over SSL, does that mean I have to use
someone's libraries that provide sockets that are capable of completing SSL
required handshakes?

Any message or hint on this is greatly appreciated. Thanks!
 
laimis,

You are right, .NET 1.1 does not have any classes that deal with SSL.
You would have to use a third party library (perhaps the Indy project at
http://www.indyproject.org).

However, .NET 2.0 does have support for Secure Sockets, so you won't
have to wait too long if don't want to use something outside the framework.

Hope this helps.
 
Thanks so much! I needed someone to make sure I am not "halucinating"

Thanks

Nicholas Paldino said:
laimis,

You are right, .NET 1.1 does not have any classes that deal with SSL.
You would have to use a third party library (perhaps the Indy project at
http://www.indyproject.org).

However, .NET 2.0 does have support for Secure Sockets, so you won't
have to wait too long if don't want to use something outside the framework.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

laimis said:
Hey guys,

Has anyone here done done socket programming with c# where you would
connect
to secure server over SSL? After numerious searches online on google, I am
almost to the point where I believe that .net framework doesn't have any
classes for SSL sockets. Is that true?

So if I want to make connections over SSL, does that mean I have to use
someone's libraries that provide sockets that are capable of completing
SSL
required handshakes?

Any message or hint on this is greatly appreciated. Thanks!
 
There is also a free open-source security library at
http://www.mentalis.org

This contains source code and samples for SSL, cryptography,
certificates. The code is as easy to use as the native
System.Net.Socket classes

Rob Vretenar [imason inc.]
 
Back
Top