# ManageCurrentApplication

> Resets or launches the current app for this session.

Resets or launches the current app for this session.

## Definition

**Namespace**: UiPath.MobileAutomation.API.Models

**Assembly**: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

## `ManageCurrentApplication(ManageCurrentAppCommandEnum, MobileOptions.ManageCurrentApplicationOptions)`

```
ManageCurrentApplication(
	    ManageCurrentAppCommandEnum appCommand,
	    MobileOptions. ManageCurrentApplicationOptions options = null
)
```

`appCommand` `ManageCurrentAppCommandEnum`
:   The command that you want to send to the app that is currently running.
    There are two available commands, `Launch` and
    `Reset`.

`options` [ManageCurrentApplicationOptions](https://docs.uipath.com/activities/other/latest/ui-automation/uipath-mobileautomation-api-models-mobileoptions-managecurrentapplicationoptions) (Optional)
:   Specifies the `MobileOptions.ManageCurrentApplicationOptions`
    for the `ManageCurrentApplication` action. Default value is
    null.

## Return value

[Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean?view=net-8.0)

Returns `True` if the command has been executed successfully.
