AnyConnect Secure Mobility Client  5.1.19.1862
Externally Initiated Exit Requests

ExitNoticeCB

This method is likely to occur only during connection attempts when it has been determined that one of several factors has occurred. These may include:

  • A software upgrade is required.
  • Start Before Logon (SBL) is in use.

There might be additional cases, but these are three common ones.

Unlike the other callback methods, a default implementation (calling the system's exit() function) is provided. If clients of the API want to override this behavior, they must ensure that the current running process exits with the return code specified by returnCode.

WARNING: If you override this method and do not exit with the proper code, software update (or other) functionality in your client will not work as expected.