20 references to Transport
System.ServiceModel (20)
System\ServiceModel\Channels\PeerSecurityManager.cs (4)
141
if (security.Mode == SecurityMode.
Transport
|| security.Mode == SecurityMode.TransportWithMessageCredential)
874
requirement.Properties[SecurityTokenRequirement.PeerAuthenticationMode] = SecurityMode.
Transport
;
928
requirement.Properties[SecurityTokenRequirement.PeerAuthenticationMode] = SecurityMode.
Transport
;
1008
requirement.Properties[SecurityTokenRequirement.PeerAuthenticationMode] = SecurityMode.
Transport
;
System\ServiceModel\Configuration\Properties.cs (2)
2444
properties.Add(new ConfigurationProperty("mode", typeof(System.ServiceModel.SecurityMode), System.ServiceModel.SecurityMode.
Transport
, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.SecurityModeHelper)), System.Configuration.ConfigurationPropertyOptions.None));
2575
properties.Add(new ConfigurationProperty("mode", typeof(System.ServiceModel.SecurityMode), System.ServiceModel.SecurityMode.
Transport
, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.SecurityModeHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Description\MetadataExchangeBindings.cs (1)
169
new WSHttpSecurity(SecurityMode.
Transport
, new HttpTransportSecurity(), new NonDualMessageSecurityOverHttp()), /* reliableSessionEnabled */ false);
System\ServiceModel\NetTcpBinding.cs (1)
315
Fx.Assert((mode == SecurityMode.
Transport
) || (mode == SecurityMode.TransportWithMessageCredential), "Unexpected SecurityMode value: " + mode);
System\ServiceModel\NetTcpSecurity.cs (3)
13
internal const SecurityMode DefaultMode = SecurityMode.
Transport
;
66
else if (this.mode == SecurityMode.
Transport
)
94
else if (mode == SecurityMode.
Transport
)
System\ServiceModel\PeerSecuritySettings.cs (5)
15
internal const SecurityMode DefaultMode = SecurityMode.
Transport
;
61
return this.Mode == SecurityMode.
Transport
|| this.Mode == SecurityMode.TransportWithMessageCredential;
85
this.Mode = SecurityMode.
Transport
;
94
this.Mode = SecurityMode.
Transport
;
117
case SecurityMode.
Transport
:
System\ServiceModel\SecurityMode.cs (2)
19
value == SecurityMode.
Transport
||
31
return SecurityMode.
Transport
;
System\ServiceModel\WSHttpBinding.cs (2)
100
if ((security.Mode == SecurityMode.
Transport
) &&
113
if (this.security.Mode == SecurityMode.
Transport
)