Example #1
0
        static void Main(string[] args)
        {
            FileInfo configFile = new FileInfo(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, ExternalLog4netConfig));

            if (configFile.Exists)
            {
                log4net.Config.XmlConfigurator.ConfigureAndWatch(configFile);
            }

            ConsoleVT            vt          = new ConsoleVT();
            SSHClientAuthorition authorition = ClientFactory.CreateSSHClientAuthorition("10.0.8.99", 22, "oheiheiheiheihei", "18612538605");
            VTApplication        vtApp       = VTApplication.Run(authorition, vt);

            char[] chars = new char[1];
            while (true)
            {
                ConsoleKeyInfo key = Console.ReadKey(true);
            }
        }
Example #2
0
 private void InitializeWindow()
 {
     SSHClientAuthorition authorition = ClientFactory.CreateSSHClientAuthorition("10.0.8.99", 22, "oheiheiheiheihei", "18612538605");
     VTApplication        vtApp       = VTApplication.Run(authorition, Terminal);
 }