title: Creating a custom binding in WCF from an existing nettcpbinding
body: <p>Can anyone tell me how to create a custom binding that reproduces the exact same behavior from the following  in WCF?</p>
  
  <pre><code>&lt;netTcpBinding&gt;
          &lt;binding name="SecureTcp" &gt;
            &lt;security mode="TransportWithMessageCredential"&gt;
              &lt;transport clientCredentialType="Certificate" /&gt;
              &lt;message clientCredentialType="UserName" /&gt;
            &lt;/security&gt;
          &lt;/binding&gt;
        &lt;/netTcpBinding&gt;
  </code></pre>
  
  <p>All of the googled solutions that I've found don't seem to be working for one reason or another. I've found a lot of solutions regarding httpTransport, but very few regarding nettcptransport.</p>
  
  <p>The above  configuration is currently working, but I need to modify the maxClockSkew, and the only way to accomplish this is with a custom binding.</p>
  
  <p>Thanks in advance,
  Brian</p>