/// <summary>Import sessions from Windows Registry which were set by PuttYCM and load them into the in-application sessions database</summary> public static void ImportSessionsFromPuttyCM(string fileExport) { Log.InfoFormat("Importing sessions from PuttyCM"); List <SessionData> sessions = PuttyDataHelper.GetAllSessionsFromPuTTYCM(fileExport); ImportSessions(sessions, "ImportedFromPuTTYCM"); }
/// <summary>Import sessions from Windows Registry which were set by PuTTY or KiTTY and load them into the in-application sessions database</summary> public static void ImportSessionsFromPuTTY() { Log.InfoFormat("Importing sessions from PuTTY/KiTTY"); List <SessionData> sessions = PuttyDataHelper.GetAllSessionsFromPuTTY(); ImportSessions(sessions, "ImportedFromPuTTY"); }
private void PopulatePuttySettings() { foreach (String sessionName in PuttyDataHelper.GetSessionNames()) { comboBoxPuttyProfile.Items.Add(sessionName); } comboBoxPuttyProfile.SelectedItem = PuttyDataHelper.SessionDefaultSettings; }