2 instantiations of NetTcpSecurity
System.ServiceModel (2)
System\ServiceModel\NetTcpBinding.cs (1)
21NetTcpSecurity security = new NetTcpSecurity();
System\ServiceModel\NetTcpSecurity.cs (1)
131security = new NetTcpSecurity(mode, tcpTransportSecurity, messageSecurity);
14 references to NetTcpSecurity
System.ServiceModel (14)
System\ServiceModel\Configuration\NetTcpSecurityElement.cs (3)
18[ConfigurationProperty(ConfigurationStrings.Mode, DefaultValue = NetTcpSecurity.DefaultMode)] 38internal void ApplyConfiguration(NetTcpSecurity security) 49internal void InitializeFrom(NetTcpSecurity security)
System\ServiceModel\NetTcpBinding.cs (9)
21NetTcpSecurity security = new NetTcpSecurity(); 42NetTcpBinding(TcpTransportBindingElement transport, BinaryMessageEncodingBindingElement encoding, TransactionFlowBindingElement context, ReliableSessionBindingElement session, NetTcpSecurity security) 173public NetTcpSecurity Security 284NetTcpSecurity security = this.Security; 398NetTcpSecurity security; 420return NetTcpSecurity.GetModeFromTransportSecurity(transport); 425return NetTcpSecurity.SetTransportSecurity(transport, mode, transportSecurity); 440static bool TryCreateSecurity(SecurityBindingElement sbe, UnifiedSecurityMode mode, bool isReliableSession, BindingElement transportSecurity, TcpTransportSecurity tcpTransportSecurity, out NetTcpSecurity security) 450if (NetTcpSecurity.TryCreate(sbe, securityMode, isReliableSession, transportSecurity, tcpTransportSecurity, out security))
System\ServiceModel\NetTcpSecurity.cs (2)
117internal static bool TryCreate(SecurityBindingElement wsSecurity, SecurityMode mode, bool isReliableSessionEnabled, BindingElement transportSecurity, TcpTransportSecurity tcpTransportSecurity, out NetTcpSecurity security) 137return this.Mode != NetTcpSecurity.DefaultMode