Hi, I would like to know how to determine whater a user has logged off, using a software, the software must run at the background so that the user doesnt know. Basically I want to find out if the user hits the log off button as soon as it does then the software will do something and then loggs off. This software will be installed in a microcontroller (dont worry about this part) via USB and as soon as you plug in your USB the software will run automatically. Is there a file which can run automatically and what is the name of the file?
regards