internal static void RegisterChannel() { CrossAppDomainChannel adc = CrossAppDomainChannel.AppDomainChannel; ChannelServices.RegisterChannelInternal((IChannel)adc, false /*ensureSecurity*/); }