Esempio n. 1
0
        public static IAquariusClient ClientFromExistingSession(string hostname, string existingSessionToken)
        {
            var client = new AquariusClient();

            client.Connect(hostname, existingSessionToken);

            return(client);
        }
Esempio n. 2
0
        public static IAquariusClient CreateConnectedClient(string hostname, string username, string password)
        {
            var client = new AquariusClient();

            client.Connect(hostname, username, password);

            return(client);
        }