19 references to TcpClientCredentialType
System.ServiceModel (19)
System\ServiceModel\Configuration\Properties.cs (2)
3527
properties.Add(new ConfigurationProperty("clientCredentialType", typeof(System.ServiceModel.
TcpClientCredentialType
), System.ServiceModel.
TcpClientCredentialType
.Windows, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.TcpClientCredentialTypeHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\TcpTransportSecurityElement.cs (2)
22
public
TcpClientCredentialType
ClientCredentialType
24
get { return (
TcpClientCredentialType
)base[ConfigurationStrings.ClientCredentialType]; }
System\ServiceModel\NetTcpBinding.cs (1)
317
if ((transport != null) && (transport.ClientCredentialType ==
TcpClientCredentialType
.Certificate))
System\ServiceModel\TcpClientCredentialType.cs (4)
17
internal static bool IsDefined(
TcpClientCredentialType
value)
19
return (value ==
TcpClientCredentialType
.None ||
20
value ==
TcpClientCredentialType
.Windows ||
21
value ==
TcpClientCredentialType
.Certificate);
System\ServiceModel\TcpTransportSecurity.cs (10)
17
internal const
TcpClientCredentialType
DefaultClientCredentialType =
TcpClientCredentialType
.Windows;
20
TcpClientCredentialType
clientCredentialType;
34
public
TcpClientCredentialType
ClientCredentialType
136
if (this.clientCredentialType ==
TcpClientCredentialType
.Certificate || this.clientCredentialType ==
TcpClientCredentialType
.None)
138
return this.CreateSslBindingElement(this.clientCredentialType ==
TcpClientCredentialType
.Certificate);
154
transportSecurity.ClientCredentialType =
TcpClientCredentialType
.Windows;
160
transportSecurity.ClientCredentialType = requireClientCertificate ?
TcpClientCredentialType
.Certificate :
TcpClientCredentialType
.None;