Search code examples
vpncisco

Programatially determine if Cisco VPN Client is connected


I am working with the basic Cisco VPN client (v.5 I believe). Is there anyway to determine programatically if a partciular profile (or any profile for that matter) is connected?

I'm looking to somehow get a status from the client itself. I don't want to have to try to ping some IP on the other end of the VPN to see if I get a response.


Solution

  • There is an API for Cisco VPN (vpnapi.dll).