How to specify a cipher for an SSL connection in .NET?

Posted by dr. evil on Stack Overflow See other posts from Stack Overflow or by dr. evil
Published on 2010-05-28T20:07:38Z Indexed on 2010/05/28 20:12 UTC
Read the original article Hit count: 336

Filed under:
|
|
|
|

How can I specify a cipher suite to use in an SSL Connections?

I know that Mentalis Seclib got this feature however they don't maintain the project as they say .NET Framework 2.0 introduced those features.

However I couldn't find a way to do this in .NET Framework 3.5.

To be more specific I want to connect an HTTPS service by using NULL cipher, I would do the same thing with OpenSSL by using the following command:

openssl s_client -connect www.example.com:443 -cipher NULL 

How can I do this in .NET?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about ssl