asp.net mvc - Connecting teamviewer in code via browser link -


i have issue that's driving me mad. have been able connect teamviewer session browser uri required remote resource. achieve using following uri command in browser address bar (in reality, it's button click in html):

  • teamviewer8://remotecontrol?connectcc=123456789

although connects required, presents issue need address.

the problem

if connection isn't yet open, teamviewer session initiated , window pops in second monitor required. good. however, if session running , initiate subsequent request same uri, new session spawned , i'm left multiple, duplicate session windows. both resource hungry in long run , undesirable in practice.

my ideal solution

ideally, i'd process function such new session called if not have given id running. if earlier session id running, i'd find way bring focus, rather having teamviewer new new session.

what know

i know possible teamviewer console if attempt initiate second session against running id. using teamviewer console not option i've developed web based desktop solution requires sessions kicked off via button clicks inside ui (the id's stored in own db).

the app have created has potential literally open hundreds of duplicate windows i'm looking @ many processes across small range of id's on concentrated period of time, solution urgently required.

the bottom line

is possible add parameter uri tell teamviewer not create new session. there simple switch i'm missing address issue??

thanks reading...

[edit] - although unlikely have bearing on things, i'm using asp.net mvc application. add info http pipeline adding/cacheing teamviewer interprets being uniq identifier.

[update]

after careful consideration , fruitless searching, decided create own proxy application , register protocol of own choosing. proxy app called same parameters teamviewer protocol, i,e, arb://remotecontrol?connectcc=123456789. little app has internal dictionary , search against window titles dictionary. if finds match, brings window focus, if doesn't, process.start() using teamviewer protocol , adds data dictionary. there other checks too, works fine far.

i used these links initial inspiration:

hope helps else out there needs workaround kind of scenario in whatever situation demands it.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -