Exemple #1
0
        public static TigerVNCSessionInfo CreateSessionInfo(ProfileInfo profileInfo)
        {
            var info = new TigerVNCSessionInfo
            {
                Host = profileInfo.TigerVNC_Host,
                Port = profileInfo.TigerVNC_OverridePort ? profileInfo.TigerVNC_Port : SettingsManager.Current.TigerVNC_Port
            };

            return(info);
        }
Exemple #2
0
 public static string BuildCommandLine(TigerVNCSessionInfo sessionInfo)
 {
     return($"{sessionInfo.Host}::{sessionInfo.Port}");
 }