This example uses the asynchronous feature provided by FoscamCamera. Normally, a command is sent synchronously, waiting for results and blocking the main thread.