NetTcpSecurity.Transport Property   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the type of message-level security requirements for an endpoint configured with a NetTcpBinding.
public:
 property System::ServiceModel::TcpTransportSecurity ^ Transport { System::ServiceModel::TcpTransportSecurity ^ get(); void set(System::ServiceModel::TcpTransportSecurity ^ value); };public:
 property System::ServiceModel::TcpTransportSecurity ^ Transport { System::ServiceModel::TcpTransportSecurity ^ get(); };public System.ServiceModel.TcpTransportSecurity Transport { get; set; }public System.ServiceModel.TcpTransportSecurity Transport { get; }member this.Transport : System.ServiceModel.TcpTransportSecurity with get, setmember this.Transport : System.ServiceModel.TcpTransportSecurityPublic Property Transport As TcpTransportSecurityPublic ReadOnly Property Transport As TcpTransportSecurityProperty Value
The TcpTransportSecurity that indicates the type of transport-level security requirements for an endpoint.
Examples
TcpTransportSecurity tsTcp = security.Transport;
Console.WriteLine("\tTcpTransportSecurity:");
Console.WriteLine("\t\tClient Credential Type: {0}", tsTcp.ClientCredentialType);
Console.WriteLine("\t\tProtectionLevel: {0}", tsTcp.ProtectionLevel);
Remarks
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.