Hi,
You can create a System.ServiceModel.Channels.CustomBinding instance (one of the constructors takes a Binding as the input - hence you can input the binding you have configured). The CustomBinding.Elements gives you access to the channels (or more specific, the BindingElements - that is used to create the channels) that the binding is made up of.
--larsw
Lars Wilhelmsen | Senior Consultant |
Miles, Norway |
Connected Systems MVP |
http://larswilhelmsen.com/