public void Dispose()
        {
            foreach (var service in ServiceCollection)
            {
                Type       serviceType = service.Value;
                IPEndPoint endpoint    = this._setup.GetBinding(serviceType).ToIPEndPoint();

                _channel.Invoke(new ReleaseInterfaceMsg
                {
                    Type         = RemotingCommands.ReleaseInterface,
                    InterfaceUid = service.Key
                }, endpoint);
            }

            _channel.Stop();
        }
 public void Stop()
 {
     _channel.Stop();
 }