The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
NetTcpBinding Constructor ()
.NET Framework (current version)
Initializes a new instance of the NetTcpBinding class.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
By default, transport security is used to secure communication (that is, the value of SecurityMode is set to Transport) and reliable sessions are disabled (that is Enabled is false).
This example shows how to create a NetTcpBinding, setting the security mode and transport credential type.
NetTcpBinding binding = new NetTcpBinding();
binding.Security.Mode = SecurityMode.Transport;
binding.Security.Transport.ClientCredentialType = TcpClientCredentialType.Certificate;
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show: