secure socket programming

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!
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
L

laimis

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!
 
R

Rob Vretenar

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.]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top