CTI Client network functions (.NET)PrepareRestart |
Prepare client for restart.
Parameters dwMinutes Time in minutes which should elapse before the restart. When nMinutes = 0, a restart occurs immediately. If the value is negative, the client is not restarted.
Return value None
Remarks The CTI-Server can shut down and restart the standard client. This can be useful if the clients were started from the network and the files have to be changed. The restart can be triggered from the server console "Users" page.
You can also support these functions. When an OnClientClose event arrives, the nMinutes tells you the time until the client should restart. Call PrepareRestart passing this time as a parameter, and end the application. The application will be restarted after the time has elapsed.
See also
© 2020 Tino Kasubke. All rights reserved.
|