如何:设置 TCP 客户端信道以执行身份验证
此示例阐释如何在配置文件中设置 TCP 客户端信道以执行身份验证。
示例
<configuration>
<system.runtime.remoting>
<application>
<channels>
<channel ref="tcp" impersonationLevel="Identify"
authenticationPolicy="Policy, policy" />
</channels>
</application>
</system.runtime.remoting>
</configuration>