jchristn / SuperSimpleTcp

Simple wrapper for TCP client and server in C# with SSL support
MIT License
459 stars 95 forks source link

Add X509Certificate2 to InitializeClient #154

Closed tautvilis closed 2 years ago

tautvilis commented 2 years ago

SimpleTcpClient did accept X509Certificate, but when it was being initialized it wasn't being passed on to the InitializeClient method.

Now it checks if there is a certificate and if so, puts it into the collection, skipping the creation.

jchristn commented 2 years ago

Many thanks @tautvilis - just published.

NuGet: https://www.nuget.org/packages/SuperSimpleTcp/3.0.0.2 Commit: https://github.com/jchristn/SuperSimpleTcp/commit/cb87c21de2cadbbc6e97642ad9dc2774443bc79a