Esempio n. 1
0
 public Engine(string watchToken, string continuousTestsPath)
 {
     _watchToken = watchToken;
     _continuousTestsPath = continuousTestsPath;
     _handle = null;
     initialize();
 }
 private bool canConnect(VMHandle handle)
 {
     try
     {
         var client = new NetClient(null);
         client.Connect(handle.IP, handle.Port);
         var isConnected = client.IsConnected;
         if (isConnected)
             client.Disconnect();
         return isConnected;
     }
     catch
     {
     }
     return false;
 }
Esempio n. 3
0
 public Engine(VMHandle handle)
 {
     _handle = handle;
     _watchToken = null;
     initialize();
 }