internal void SetChannelBinding(SafeWinHttpHandle requestHandle) { var channelBinding = new WinHttpChannelBinding(requestHandle); if (channelBinding.IsInvalid) { channelBinding.Dispose(); } else { _channelBinding = channelBinding; } }