/// <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? }
/// <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? }