Got a small problem.
We have a internet-facing VPN from Netgear, to allow staff and teachers to access the school network using RDC from their home.
They login to the VPN using their web browser, click on one of our remote servers and they are RDC'ed in.
People though have a massive issue, with logging off. It seems to escape their head. All users are doing is clicking the Close button on the RDC Client, Which is not logging them off.
We are building a program to sort this out, The idea is to "hook" into the Remote Desktop API and then check if a session is disconnected, if it is, we log off the user.
The program would be running in the background as a service or a physical minimized EXE.
We are building this in C#. So does anyone know of any RDC Events that can be called using .NET 4? Ones that will allow us to know when the user is closing the session.
If you need anymore information on this, let me know.
Cheers