Пример #1
0
 public void Stop()
 {
     if (IsListening)
     {
         try
         {
             Host.Close();
         }
         catch
         {
             Host.Abort();
         }
     }
 }
Пример #2
0
 public override void Abort()
 {
     Host.Abort();
 }