public Connectivity(string ip, string userName, string password, int port = 8728) { mikrotik = new MK(ip,port); if (!mikrotik.Login(userName, password)) throw new System.Exception("Login incorrect!"); }
public Connectivity(string ip, string userName, string password, int port = 8728) { mikrotik = new MK(ip, port); if (!mikrotik.Login(userName, password)) { throw new System.Exception("Login incorrect!"); } }