Does anybody know where I can find documentation for the Cisco AnyConnect Secure Mobility Client API? In the administrator’s guide (https://www.cisco.com/c/en/us/td/docs/security/vpn_client/anyconnect/anyconnect40/administration/guide/b_AnyConnect_Administrator_Guide_4-0/customize-localize-anyconnect.html) Cisco reference that there’s an API available (" For Windows, Linux, and macOS computers, you can develop your own executable User Interface (UI) with the AnyConnect API. "). I can’t however find any information anywhere online about the API or how to use it though, other than a post on the Meraki forums about the Meraki API.
I’m trying to query the status of the VPN connection from another application and so want to be able to retrieve the name or FQDN of the VPN endpoint that the client is connected to. The networks behind the endpoints in question have overlapping subnets and so checking the routing table on the PC wouldn’t give me what I need.
Does anybody have any information about how I might be able to do this, or where I might be able to find documentation?
This is on Windows, connecting to ASA gateways with the AnyConnect Secure Mobility Client (currently version 4.10.05095). The application that needs to query the VPN status is developed with .NET.
I should note that the intention is for the custom application to simply check the state of the VPN connection that’s been established via the stock AnyConnect UI; it’s not intended to be a replacement for the AnyConnect Client UI.
Thanks!