Example #1
0
 public c_ScpConnectionManager(c_DBHandler _dbh, c_ConnectionObject _Conn)
 {
     Dbh         = _dbh;
     _connection = _Conn;
     if (_connection != null)
     {
         _protocol    = _connection.protocol();
         _host        = _connection.Host;
         _username    = _connection.Username;
         _password    = _connection.Password;
         _fingerprint = _connection.SshHostKeyFingerprint;
         _keyPath     = _connection.Keyfile_path;
     }
 }
Example #2
0
 public c_FileDataCollectionManager(c_DBHandler dbh)
 {
     _dbh = dbh;
     Sqlc = _dbh.Sqlc;
 }