private void CSCloudClientDisconnected(object sender, ClientConnectedEventArgs args) { bool removed = clients.Remove(args.ConnectedClient); Debug.WriteLine(string.Format("Disconnected client removed successfully: {0}", removed)); }
//public ICSCloudServerCallback Callback //{ // get // { // return OperationContext.Current.GetCallbackChannel<ICSCloudServerCallback>(); // } //} private void CSCloudClientConnected(object sender, ClientConnectedEventArgs args) { clients.Add(args.ConnectedClient); }