2 instantiations of NetTcpSecurity
System.ServiceModel (2)
System\ServiceModel\NetTcpBinding.cs (1)
21
NetTcpSecurity security = new
NetTcpSecurity
();
System\ServiceModel\NetTcpSecurity.cs (1)
131
security = 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)]
38
internal void ApplyConfiguration(
NetTcpSecurity
security)
49
internal void InitializeFrom(
NetTcpSecurity
security)
System\ServiceModel\NetTcpBinding.cs (9)
21
NetTcpSecurity
security = new NetTcpSecurity();
42
NetTcpBinding(TcpTransportBindingElement transport, BinaryMessageEncodingBindingElement encoding, TransactionFlowBindingElement context, ReliableSessionBindingElement session,
NetTcpSecurity
security)
173
public
NetTcpSecurity
Security
284
NetTcpSecurity
security = this.Security;
398
NetTcpSecurity
security;
420
return
NetTcpSecurity
.GetModeFromTransportSecurity(transport);
425
return
NetTcpSecurity
.SetTransportSecurity(transport, mode, transportSecurity);
440
static bool TryCreateSecurity(SecurityBindingElement sbe, UnifiedSecurityMode mode, bool isReliableSession, BindingElement transportSecurity, TcpTransportSecurity tcpTransportSecurity, out
NetTcpSecurity
security)
450
if (
NetTcpSecurity
.TryCreate(sbe, securityMode, isReliableSession, transportSecurity, tcpTransportSecurity, out security))
System\ServiceModel\NetTcpSecurity.cs (2)
117
internal static bool TryCreate(SecurityBindingElement wsSecurity, SecurityMode mode, bool isReliableSessionEnabled, BindingElement transportSecurity, TcpTransportSecurity tcpTransportSecurity, out
NetTcpSecurity
security)
137
return this.Mode !=
NetTcpSecurity
.DefaultMode