TransportContext.GetChannelBinding Method (ChannelBindingKind)
Retrieves the requested channel binding.
Assembly: System (in System.dll)
The type of channel binding to retrieve.
Return ValueType: System.Security.Authentication.ExtendedProtection.ChannelBinding
The requested ChannelBinding, or null if the channel binding is not supported by the current transport or by the operating system.
If an application attempts to retrieve the channel binding token (CBT) from the TransportContext property using the method and the ChannelBindingKind is not Endpoint, then the HttpListenerRequest will throw NotSupportedException. The HttpListenerRequest overrides the method with an internal implementation
Available since 10
Available since 2.0