public static IAquariusClient ClientFromExistingSession(string hostname, string existingSessionToken) { var client = new AquariusClient(); client.Connect(hostname, existingSessionToken); return(client); }
public static IAquariusClient CreateConnectedClient(string hostname, string username, string password) { var client = new AquariusClient(); client.Connect(hostname, username, password); return(client); }