GenieClient / Genie4

.NET 6 Update of Genie
GNU General Public License v3.0
21 stars 14 forks source link

Implementing TLS via TcpClient #65

Closed mj-colonel-panic closed 2 years ago

mj-colonel-panic commented 2 years ago

Authentication flow was modified to use a TcpClient in place of a Socket

the Connection.Connect method has been updated to use a TcpClient to provide the socket, and the BeginConnect and callback have been merged into a single Connect

The new ConnectAndAuthenticate method uses the new TcpClient to validate the received server certificate and authenticate to the server as a client, and then attempts tso log in.