I have an Asp.NET web application. I can call and run Teamviewer in my application when running on local.
I have a class for call and run TeamViewer.
cla
I would make some settings page for the user, that she/he could add a path of TeamViewer into the cookies/database. Hope it helps!