I have a program that communicates with a network based RFID reader and I need to be able to read tags and update the database before the system is logged in. That shouldn't be difficult, just need to use the task scheduler or similar to run on system boot.
I cannot seem to find a solution on how to open my form when a user actually logs in.
To clarify, I want the program to start before any user logs in, then when a user logs in, I want the form to open. Then, from the form, I will have the User logout and the program will resume until the next user logs in. My main program will always be running regardless of the user state.
As far as I can tell, my only other option would be to have two separate applications, one that runs as a service and is suspended upon user login, the other that opens the form and resumes RFID monitoring while a user is logged in, then when the user logs out, the service resumes its monitoring.
Coding in C# with a Windows Form Application.
Thanks for your help!