LeighWardle
asked on
How to detect if my running Windows application is being driven by a remote application?
Hi Experts,
I am looking for a way to detect if my running vb.net Windows Forms application is being driven by software such as Remote Desktop, VNC, Teamviewer etc.
I want to know if any of these applications are controlling my application -
I have code like the following that will let me check if applications such as Teamviewer are running:
But what I need to know is how to detect if any of these applications are firing keystrokes and mouse movements etc. at my application.
Regards,
Leigh
I am looking for a way to detect if my running vb.net Windows Forms application is being driven by software such as Remote Desktop, VNC, Teamviewer etc.
I want to know if any of these applications are controlling my application -
I have code like the following that will let me check if applications such as Teamviewer are running:
Sub Main()
For Each p As Process In Process.GetProcesses()
Try
'Console.WriteLine("{0} {1}", p.Id, Path.GetFileName(p.MainModule.FileName))
MsgBox(p.Id & " " & Path.GetFileName(p.MainModule.FileName))
Catch
End Try
Next
End Sub
But what I need to know is how to detect if any of these applications are firing keystrokes and mouse movements etc. at my application.
Regards,
Leigh
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Regards,
Leigh