I've been searching on google, codeplex, codeproject, stackoverflow, dream.in.code... nothing seems to be coming up.
My final result for this project is to have a service that is running in a computer lab. As soon as a user logs on, the service running will send the user information, the computer name and a 'logged in' bool to a server. The server is only keeping the 'logged in' status for that computer name, but using the user information to see if it has any messages for that category of user. Then, when the user logs off, the service sends the computer name and a 'logged off' bool to the server.
I don't have a lot of experience with WCF or coding for Windows events, so I'm lost when it comes to getting a part of the service to trigger with a user logon/logoff.
I can get all the information that I need if I use a windows form and trigger the data collection with a button click, but that doesn't help when using it as a wcf.
So, does anyone have any advice as to how to get the method to run when the user logs in or logs out? Thanks in advance! This hunt for a needle in a haystack is making my head spin