简体   繁体   English

TcpChannel的IsSecured属性有什么作用?

[英]what does IsSecured property for TcpChannel do?

I have a client server application using .Net Remoting. 我有一个使用.Net Remoting的客户端服务器应用程序。 We have TcpChannel object to establish the connection between client and server. 我们有TcpChannel对象来建立客户端和服务器之间的连接。 So if I set the IsSecured property for TcpChannel object to true. 因此,如果我将TcpChannel对象的IsSecured属性设置为true。 Does this mean that the data passed between client and server is secure ie encrypted ? 这是否意味着在客户端和服务器之间传递的数据是安全的,即已加密?

If you set the secure flag to true, exchanged content is encrypted and signed. 如果将secure标志设置为true,则对交换的内容进行加密和签名。

You can observe that easily by using your favorite network sniffer (eg WireShark). 您可以使用自己喜欢的网络嗅探器(例如WireShark)轻松观察到这一点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM