Beispiel #1
0
        public ClientModel(string localIP, string serverHost, DesktopViewer.DesktopChangedEventHandler onDesktopChanged)
        {
            _connected = false;
            _id = -1;
            _serverHost = serverHost;
            _ip = localIP;
            _hostname = Dns.GetHostName();
            _commands = new CommandQueue();
            _singletonServer = (IServerModel)Activator.GetObject(typeof(IServerModel), _serverHost);

            _viewer = new DesktopViewer( onDesktopChanged);
        }
 public RemotingClient(string localIP, string serverHost, DesktopViewer.DesktopChangedEventHandler onDesktopChanged) 
     : base(localIP, serverHost, onDesktopChanged) { }