Пример #1
0
        public void CreateSshProfile()
        {
            var shellProfile = new SshProfile(_applicationView.IsApiContractPresent("Windows.Foundation.UniversalApiContract", 7))
            {
                Id            = Guid.NewGuid(),
                PreInstalled  = false,
                Name          = "New SSH profile",
                KeyBindings   = new List <KeyBinding>(),
                UseMosh       = _settingsService.GetApplicationSettings().UseMoshByDefault,
                RequestConPty = _settingsService.GetApplicationSettings().UseConPty
            };

            AddSshProfile(shellProfile);
        }