Пример #1
0
 /// <summary>
 /// Disconnects from the server and deactivates the container.
 /// </summary>
 public void Stop()
 {
     if (_client != null)
     {
         _client.Close();
         _client.Dispose();
         _client = null;
     }
 }
Пример #2
0
 public override void stop()
 {
     _Client.Close();
 }