| AnyConnect Secure Mobility Client 5.1.5.65

- Main Page
- Related Pages
- Classes
- Files

# VPN Status Checking

## isConnected

This method returns true if this client has an active VPN connection with a Secure Gateway.

## getState

This method triggers the retrieval of the current VPN state. After the client is conected to the VPN service via the ClientIfc::attach method, both the current state and any changes in state are automatically delivered to the client. In general, this method should not be needed.

VPNState is delivered via ClientIfc::StateCB method.