Detect if my running Windows Form application is being driven by a remote application

IN PROGRESS
Bids
12
Avg Bid (AUD)
$541
Project Budget (AUD)
$250 - $750

Project Description:
Hi,

I am looking for a way to detect if my running [url removed, login to view] 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}", [url removed, login to view], Path.GetFileName(p.MainModule.FileName))
MsgBox([url removed, login to view] & " " & 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

Skills required:
.NET, Software Architecture, Visual Basic
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 631
in 12 days
Hire shawnburt
$ 526
in 15 days
$ 666
in 20 days
$ 750
in 5 days
$ 526
in 7 days
Hire wsh2
$ 526
in 3 days
$ 526
in 14 days
$ 400
in 7 days
Hire jaydipkpatel
$ 555
in 3 days
$ 277
in 4 days