Ejemplo n.º 1
0
        /// <summary>
        /// Connect with the ICEcore Daemon and register event handlers.
        /// </summary>
        void ConnectToICEcoreDaemon()
        {
            Console.WriteLine("Connecting the to the ICEcore Daemon");
            deskIceDaemon = DaemonService.DaemonInstance;
            if (deskIceDaemon != null)
            {
                // Set up the daemon event handlers
                deskIceDaemon.Authenticated += OnAuthenticated;
                deskIceDaemon.Disconnected  += OnDisconnected;
            }

            // TODO: Do we need to call a refresh here?
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Connect with the ICEcore Daemon and register event handlers.
        /// </summary>
        void ConnectToICEcoreDaemon()
        {
            Console.WriteLine ("Connecting the to the ICEcore Daemon");
            deskIceDaemon = DaemonService.DaemonInstance;
            if (deskIceDaemon != null) {
                // Set up the daemon event handlers
                deskIceDaemon.Authenticated += OnAuthenticated;
                deskIceDaemon.Disconnected += OnDisconnected;
            }

            // TODO: Do we need to call a refresh here?
        }