Exemplo n.º 1
0
 public void Dispose()
 {
     if (_httpServer != null)
     {
         _httpServer.Dispose();
     }
     if (_udpServer != null)
     {
         _udpServer.Dispose();
     }
 }
Exemplo n.º 2
0
 public void Dispose()
 {
     if (_mcLock != null)
     {
         _mcLock.Release();
         _mcLock.Dispose();
     }
     if (_httpServer != null)
     {
         _httpServer.Dispose();
     }
     if (_udpServer != null)
     {
         _udpServer.Dispose();
     }
 }
Exemplo n.º 3
0
 /// <summary>
 ///     This will stop the internal HTTP-Server (Should be called after you got the Token)
 /// </summary>
 public void StopHttpServer()
 {
     _httpServer.Dispose();
     _httpServer    = null;
     isServerActive = false;
 }
Exemplo n.º 4
0
 /// <summary>
 ///     This will stop the internal HTTP-Server (Should be called after you got the Token)
 /// </summary>
 public void StopHttpServer()
 {
     _httpServer.Dispose();
     _httpServer = null;
 }