public IPCHelper Client() { channel = new IpcChannel(); ChannelServices.RegisterChannel(channel, false); myObj = (IPCObject)Activator.GetObject(typeof(IPCObject), $"ipc://{port}/{url}"); return(this); }
public IPCHelper Client(string url) { channel = new IpcChannel(); ChannelServices.RegisterChannel(channel, false); myObj = (IPCObject)Activator.GetObject(typeof(IPCObject), url); return(this); }