开发者

C# - secure `sockets` with SSL

开发者 https://www.devze.com 2023-03-14 14:35 出处:网络
hi i have a socket connection (server) developed with methods available in using System.开发者_运维问答Net.Sockets;

hi i have a socket connection (server) developed with methods available in

using System.开发者_运维问答Net.Sockets;
using System.Net;

is it possible to secure the data communication in this sockets ? specially implement SSL ? any examples ?


You could use an SslStream. The documentation link contains an example of a TCP server and a client which communicate over SSL.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号