static SmartServers() { Matrix = new SmartServer() { Address = "aaa", Port = 1234 }; Demo = new SmartServer() { Address = "aaa", Port = 1234 }; Reserve1 = new SmartServer() { Address = "aaa", Port = 1234 }; Reserve2 = new SmartServer() { Address = "aaa", Port = 1234 }; }
public void Connect(string login, string password, SmartServer server) { SmartConnect(login, password, server.Address, server.Port); }