Gets or sets whether message-level security and transport-level security are used by an endpoint configured with a NetTcpBinding.
Assemblies: System.ServiceModel (in System.ServiceModel.dll)
System.ServiceModel.NetTcp (in System.ServiceModel.NetTcp.dll)
The security mode determines the type of security required by an endpoint. Windows Communication Foundation (WCF) security offers a variety of mechanisms with which to secure the transfer of messages that are configured with the system-provided bindings. Each of the bindings supports a subset of these security modes. The mode determines the mechanisms by which message transfer security functions (integrity, confidentiality and authentication) are required.