Search code examples
wcfwcf-bindingwcf-securitynet.tcp

What is encryption strength when TcpClientCredentialType.Windows is used?


What encryption algorithm and key length is used on the following binding?

NetTcpBinding binding = new NetTcpBinding();
binding.Security.Mode = SecurityMode.Transport;
binding.Security.Transport.ClientCredentialType = TcpClientCredentialType.Windows;

Solution

  • From MSDN:

    The NetTcpBinding class uses TCP for message transport. Security for the transport mode is provided by implementing Transport Layer Security (TLS) over TCP. The TLS implementation is provided by the operating system.

    So it's going to depend on your operating system which version of TLS is used. For Server 2008 R2, TLS 1.2 is used.

    Hope that helps.