private  bool ConnectToMFiles(string host, string user, string password)
        {
            try
            {
                _app = MFilesApp.Create(host: host, user: user, pass: password);
            }
            catch (Exception ex)
            {
                //_logger.Error(ex.Message);
                throw ex;

            }

            return true;
        }
Example #2
0
 public static MFilesApp Create(string user, string pass, string host, string port = "2266")
 {
     var res = new MFilesApp(user, pass, host, port);
     res.Connect();
     return res;
 }