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 }
public void InitializePreference(String folder) { _originalFolder = folder; _originalOptions = new ProtocolOptions(folder); _originalOptions.DefineItems(); }