Exemple #1
0
        public static void RunAdapter()
        {
            IMyRemoteDesktop psaLots = new MyRemoteDestopWrapper();

            psaLots.IpAddress = "10.10.10.10";
            psaLots.InitiateConnection();
            psaLots.LookIntoDesktop();
            psaLots.CloseConnection();

            IMyRemoteDesktop questraLots = new RealVncRemoteDesktopAdapter();

            questraLots.IpAddress = "20.20.20.20";
            questraLots.InitiateConnection();
            questraLots.LookIntoDesktop();
            questraLots.CloseConnection();
        }
Exemple #2
0
    public static void RunAdapter()
    {
      IMyRemoteDesktop psaLots = new MyRemoteDestopWrapper();
      psaLots.IpAddress = "10.10.10.10";
      psaLots.InitiateConnection();
      psaLots.LookIntoDesktop();
      psaLots.CloseConnection();

      IMyRemoteDesktop questraLots = new RealVncRemoteDesktopAdapter();
      questraLots.IpAddress = "20.20.20.20";
      questraLots.InitiateConnection();
      questraLots.LookIntoDesktop();
      questraLots.CloseConnection();
    }