Share via


<transport> of <netPeerTcpBinding>

Specifies settings for transport level security when using the <netPeerTcpBinding>.

<system.serviceModel>

  <bindings>

    <netPeerTcpBinding>

      <binding>

        <security> of <netPeerBinding>

          <transport> of <netPeerTcpBinding>

                                    
                                    <netPeerTcpBinding>
                                
                                    
                                            
                                    
                                        <binding>
                                
                                    
                                                
                                    
                                            <security>
                                
                                    
                                                    
                                    
                                                <transport credentialType="Certificate/Password" />
                                
                                    
                                                
                                    
                                            </security>       
                                
                                    
                                            
                                    
                                        </binding>
                                
                                    
                                    </netPeerTcpBinding>
                                

Attributes and Elements

The following sections describe attributes, child elements, and parent elements

Attributes

Attribute Description

credentialType

Optional. Specifies the credentials to be used when interacting with a service. This attribute is of type PeerTransportCredentialType.

credentialType Attribute


Value Description

Certificate

Authentication of the peer channel transport requires an X509 certificate.

Password

Authentication of the peer channel transport requires a correct password.

Child Elements

None

Parent Elements

Element Description

<security> of <netPeerBinding>

Defines the security settings for the <netPeerTcpBinding>.

See Also

Reference

PeerTransportSecurityElement

Other Resources

Securing Services and Clients

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.