<transport> of <netPeerTcpBinding>

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

<configuration>
  <system.serviceModel>
    <bindings>
      <netPeerTcpBinding>
        <binding>
          <security>
            <transport>

Syntax

<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 type of credentials used to verify messages sent with the peer transport. 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> Defines the security settings for the <netPeerTcpBinding>.

See also