title: How can I programmatically get the binding that my client proxy is using?
body: <p>I have a WCF proxy generated at runtime with DuplexChannelFactory.</p>
  
  <p>How can I access the binding information given only the service interface returned from DuplexChannelFactory?</p>
  
  <p>I can get most stuff by casting to an IClientChannel, but I can't seem to find binding info on there. The closest I can get is IClientChannel.RemoteAddress which is an endpoint, but that doesn't seem to have binding info either. :-/</p>