Author Topic: Access to results of VPN programmatically.  (Read 4023 times)

mvendert

  • Newbie
  • *
  • Posts: 1
Access to results of VPN programmatically.
« on: July 22, 2015, 05:20:50 AM »
We have a program we use to connect to all of our customers. Until now we used windows vpn (via ras) to connect to customers, and the connections are orchestrated via that program). Upon connection, some date is logged, and the assigned ip etc. can be used in other followup programs.

We now want to use teamviewer vpn also for this purpose. The intention is that the program opens a teamviewer vpn connection (now done by starting teamviewer with commandline parameters). After the connection is established, I want access to the remote IP number for example, so I can start a sqlserver managemet studio to that IP for example.
I also would like to see if one vpn is disconnected (if I created more than one... which one), in my C# dotnet program.

Can this be done?