public void SetPeers(Dictionary <string, Uri> peers) { if (CurrentChatRoom == null) { throw new Exception("The session hasn't started."); } CurrentChatRoom.SetPeers(peers); }