Пример #1
0
        public InternalTerminalInstance(ProtocolType protocol, InternalPoderosaInstance _internalPoderosaWorld, ITerminalParameter _IterminalParameter)
        {
            _basePoderosaInstance = _internalPoderosaWorld;
            _window = _basePoderosaInstance.WindowManagerPlugin.CreateLibraryMainWindow();

            _protocol = protocol;

            _terminalSettings  = new TerminalSettings();
            _terminalParameter = _IterminalParameter;
            _terminalView      = _window.ViewManager.GetCandidateViewForNewDocument();
        }
        public SSH2Session()
        {
            _SSHParms = new SSHLoginParameter();
            _SSHParms.Account = "root";
            _SSHParms.PasswordOrPassphrase = "Pasw0rd";
            _SSHParms.Destination = "192.168.2.1";
            _SSHParms.Port = 22;
            _SSHParms.AuthenticationType = Granados.AuthenticationType.Password;

            _instance =new  InternalPoderosaInstance();
            _terminal =_instance.NewTerminal(ProtocolType.SSH2, _SSHParms);
        }
Пример #3
0
        public SSH2Session()
        {
            _SSHParms         = new SSHLoginParameter();
            _SSHParms.Account = "root";
            _SSHParms.PasswordOrPassphrase = "Pasw0rd";
            _SSHParms.Destination          = "192.168.2.1";
            _SSHParms.Port = 22;
            _SSHParms.AuthenticationType = Granados.AuthenticationType.Password;

            _instance = new  InternalPoderosaInstance();
            _terminal = _instance.NewTerminal(ProtocolType.SSH2, _SSHParms);
        }
        public InternalTerminalInstance(ProtocolType protocol, InternalPoderosaInstance _internalPoderosaWorld, ITerminalParameter _IterminalParameter)
        {
            _basePoderosaInstance=_internalPoderosaWorld;
            _window = _basePoderosaInstance.WindowManagerPlugin.CreateLibraryMainWindow();

            _protocol = protocol;

            _terminalSettings = new TerminalSettings();
            _terminalParameter = _IterminalParameter;
            _terminalView = _window.ViewManager.GetCandidateViewForNewDocument();
        }