//-------------send performance timing information to WPF public TimingInfo sendPerformanceWPF() { if (proxyStore.ContainsKey(remoteUrl)) { return(proxyStore[remoteUrl].getPerformanceWPF()); } else { // create new proxy with Connect, save it, and use it if (this.Connect(remoteUrl)) // if Connect succeeds it will set proxy and send start msg { proxyStore[remoteUrl] = this.proxy; // save proxy return(proxy.getPerformanceWPF()); } return(new TimingInfo()); } }