Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我正在考虑开发一种文件传输程序,并且想知道我是否想要像我能得到我应该使用的那样好的加密?
我会用 c# 开发它,所以我可以访问 .net lib :P 在我的 USB 上有一个证书来访问服务器是没有问题的,如果这会增加安全性!
.NET Framework 最简单的内置方式可能是使用内置的SslStream类。使用示例here。
研究通过SSL建立隧道连接。它为您完成所有艰苦的工作。
您可以使用 System.IO.MemoryStream 围绕常规数组包装流。