smiley22 / S22.Xmpp

S22.Xmpp is an easy-to-use and well-documented .NET assembly for communicating with an XMPP server. It supports basic Instant Messaging and Presence funtionality as well as a variety of XMPP extensions.
MIT License
54 stars 91 forks source link

TLS 1.2 support #4

Closed seangenabe closed 8 years ago

seangenabe commented 9 years ago

Please add TLS 1.2 support. Currently the library only uses TLS v1.

st-gwerner commented 8 years ago

You can add this to the top of your application to support TLS 1.2:

using System.Net;

// snip

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;