public void LaunchVNC(Machine machine, Settings settings)
 {
     Process.Start("vncviewer", machine.MachineName);
 }
        public string BuildArguments(Machine machine, Settings settings)
        {
            string arguments = string.Empty;

            if (settings.AlwaysUseDefaultResolution)
            {
                arguments += "/w:" + settings.ResolutionWidth + " ";
                arguments += "/h:" + settings.ResolutionHeight + " ";
            }

            if (settings.AlwaysRedirectClipboard)
            {
                arguments += "+clipboard ";
            }
            else
            {
                arguments += "-clipboard ";
            }

            if (settings.AlwaysUseAero)
            {
                arguments += "+aero ";
            }
            else
            {
                arguments += "-aero ";
            }

            if (settings.AlwaysUseFonts)
            {
                arguments += "+fonts ";
            }
            else
            {
                arguments += "-fonts ";
            }

            if (settings.AlwaysUseWindowDrag)
            {
                arguments += "+window-drag ";
            }
            else
            {
                arguments += "-window-draw ";
            }

            if (settings.AlwaysUseMenuAnims)
            {
                arguments += "+menu-anims ";
            }
            else
            {
                arguments += "-menu-anims ";
            }

            if (settings.AlwaysUseRFX)
            {
                arguments += "/rfx ";
            }

            arguments += "/u:" + machine.Username + " ";
            arguments += "/p:" + machine.Password + " ";
            arguments += "/v:" + machine.MachineName + " ";
            return(arguments);
        }
 public void LaunchSSH(Machine machine, Settings settings)
 {
     Process.Start("terminator", "-e 'ssh " + machine.Username + "@" + machine.MachineName + "'");
 }