Back to product page

RestartApp method


Restarts your application.

Type

None

Syntax

  • Basic
object.RestartApp 
The RestartApp(object) syntax has these parts:
objectAn expression evaluating to an object of type wodAppUpdate.

Remarks

RestartApp can be called to restart your current application, in the same manner as when Update method is called - but without actually replacing any files. You can set CmdBefore, CmdAfter and other properties that affect the update. Your application will be restarted with same privileges and same command line as it was initialy started.

Please note that after calling RestartApp method, or your update infomation (which you may collected through Check method) will be lost.

Platforms

Windows