MSDN Library

How to: Set a TCP Client Channel to Perform Authentication 

This example illustrates how to set a TCP client channel to perform authentication in a configuration file.

Example

<configuration>
  <system.runtime.remoting>
    <application>
      <channels>
        <channel ref="tcp" impersonationLevel="Identify"
                 authenticationPolicy="Policy, policy" />
      </channels>
    </application>
  </system.runtime.remoting>
</configuration>

See Also

Show:
© 2016 Microsoft