The FortiClient COM library provides functionality to:
- Retrieve a list of VPN tunnels configured in the FortiClient application.
- Start and stop any configured VPN tunnel.
- Send XAuth credentials.
- Retrieve status information:
- Configured tunnel list
- Active tunnel name
- Connection status
- Idleness status
- Remaining key life
- Respond to FortiClient-related events:
- VPN connect
- VPN disconnect
- VPN is idle
- XAuth authentication requested
For more information, see the vpn_com_examples ZIP file located in the VPN automation file folder in the FortiClientTools file.