NetTcpSecurity::Transport Property
.NET Framework (current version)
Gets the type of message-level security requirements for an endpoint configured with a NetTcpBinding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property TcpTransportSecurity^ Transport { TcpTransportSecurity^ get(); void set(TcpTransportSecurity^ value); }
Property Value
Type: System.ServiceModel::TcpTransportSecurity^The TcpTransportSecurity that indicates the type of transport-level security requirements for an endpoint.
Use Transport security for integrity and confidentiality of the SOAP message and for mutual authentication. If this security mode is selected on a binding, the channel stack is configured using a secure transport and the SOAP messages are secured using transport security such as HTTPS or SSL over TCP.
TcpTransportSecurity tsTcp = security.Transport; Console.WriteLine("\tTcpTransportSecurity:"); Console.WriteLine("\t\tClient Credential Type: {0}", tsTcp.ClientCredentialType); Console.WriteLine("\t\tProtectionLevel: {0}", tsTcp.ProtectionLevel);
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show: