Ejemplo n.º 1
0
        public ConsoleMain()
        {
            //_instance = this;
            _protocolOptionsSupplier = new ProtocolOptions("");
            _protocolOptionsSupplier.DefineItems();
            _passphraseCache = new PassphraseCache();
            //_poderosaLog = new PoderosaLog(); // ((IPoderosaApplication)poderosa.GetAdapter(typeof(IPoderosaApplication))).PoderosaLog;
            //_netCategory = new PoderosaLogCategoryImpl("Network");

            //IConnectionResultEventHandler is not needed now
            //_connectionResultEventHandler = new KeyAgent(); //IConnectionResultEventHandler();
            //new ISSHHostKeyVerifier
        }
Ejemplo n.º 2
0
 public void InitializePreference(String folder)
 {
     _originalFolder  = folder;
     _originalOptions = new ProtocolOptions(folder);
     _originalOptions.DefineItems();
 }