Inform the base class of the change as well _log.Debug("OnSessionChange triggered.") Protected override void OnSessionChange(SessionChangeDescription changeDescription) Here the story in c# with cassia, my code is free to use. I don't think its easy and the normal way to read from the users registry with a service running under local-service account rights. So the point is, microsoft is providing a API to retrieve the information, but it isn't used/filled in by vmware. The User can't stop or change anything releated to this service, so there is no fake logout. This server is then sending the informations of the users to server. Of course i know that the information can be found in the HKCU, the Users Registry.īut i have a Windows-Services, running under Local-Service rights that catch all events of login and logout of each user via the Windows Terminal Service API (WTS, now called Remote Desktop Service API).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |