Exemplo n.º 1
0
 private void Reconnect(string newConnectionName)
 {
     this.connection.Disconnect();
     this.connection = new PipeConnection(newConnectionName);
     this.connection.StartConnection();
     try
     {
     }
     catch (Exception)
     {
         StartChatting();
     }
 }
Exemplo n.º 2
0
 public Client()
 {
     connection      = new PipeConnection(mainPipeName);
     phraseGenerator = new PhraseGenerator();
 }