Event

The event service listens for internal events from other processes. The purpose is to execute actions started in the system environment to be executed in the user environment, for example, show a PIN dialog box. For more information see Actions.

This component requires user service.

Example 1. Run a system event on user’s desktop

Watch can run as ordinary user or system user. Watch can be used to monitor when a user inserts a smart card and then execute an action when it happens. For example open a PIN dialog box.

On Windows, running as a system user means that it is run on Windows without a desktop. Thus, it is not possible to show dialog boxes, for example a PIN dialog when a user inserts a smart card.

With Event it is possible to move the action and run it on the ordinary user’s desktop so that the PIN dialog box can be shown.