tags:

views:

369

answers:

2

Hi there!

Is there any (hopefully free/open source) code available that does native TLS/SSL communication? I do not speak about the HTTPListener/Client and WebRequest classes. I'd like to do raw TLS communication in my C# code.

Thanks in advance, Max

+1  A: 

Here's an article on codeproject, it also includes code for using OpenSSL.

Do you mind if I ask what you're trying to achieve? Just curious really; there's lots of high-level wrapper classes for this kind of thing so you don't normally need to work at this level (not that there's anything wrong with that :-)

Matthew Brindley
I am planning to develop a universal network debugger for SSL/TLS connections. You could call it a mitm-attack tool, I rather call it a protocol analyzer or protocol debugger, as I do not intend to do illegal things using it.
Aha I see, sounds interesting!
Matthew Brindley
+1  A: 

http://www.mentalis.org/soft/projects/ssocket/ - been using this in a commercial product for the last 5 years in .net 1.0, 2.0 and now 3.0. Very reliable, simple to use and stable.

headsling