I have a one server and a c# based console application is running there. Now there are 5 users who login to server via remote desktop using same admin login.
i want when any user close my console application running on server then i want to log the user id and ip in a text file. so how to get user id & IP of user pc from console application running on server who login there via remote desktop?
please guide me.
Thanks