public RemoteTracerClient(TextWriter writer) { TcpServerChannel channel = new TcpServerChannel(15456); ChannelServices.RegisterChannel(channel, false); RemoteListener resumeListener = new RemoteListener(writer); RemotingServices.Marshal(resumeListener, "RemoteListener"); }
private bool TryGetObject() { m_ResumeListener = (RemoteListener)Activator.GetObject(typeof(RemoteListener), ListenerUrl); return(m_ResumeListener != null); }