I am using NetTcp binding for some service. Now I am implementing a message encoder, which is using Custom Binding to integrate with WCF runtime. I want to use NetTcp binding properties in custom binding, like IsPortSharingEnabled etc. I found some code using Reflection, but I want to use it in App.Config file.
THIS POSTING IS PROVIDED "AS IS" WITH NO WARRANTIES, AND CONFERS NO RIGHTS.
BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT, NOT TRIED IT.