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; }
public Engine(VMHandle handle) { _handle = handle; _watchToken = null; initialize(); }