Scoket Joe Scoket Joe - 1 year ago 96
C# Question

Can i monitor the remote access under windows

There are two machine A and B.
Install a software or a service in the machine B.
Now,machine A through the remoting access the machine B.
how to monitor this action.

Answer Source

if your application is winforms application you can use System.Windows.Forms.SystemInformation.TerminalServerSession. if this returns true your user connected through remote desktop connection.