# DevicePortal

> Runs the app on a remote Windows device using Windows DevicePortal (WDP).

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
DevicePortal = 2
```

### Remarks

To use this option, enable DevicePortal on your target device and provide the [connection address](/engine/6000.7/script-reference/unityeditor/editoruserbuildsettings/windowsdeviceportaladdress.md). Additionally, if you enable DevicePortal authentication, you must also provide the WDP [username](/engine/6000.7/script-reference/unityeditor/editoruserbuildsettings/windowsdeviceportalusername.md) and [password](/engine/6000.7/script-reference/unityeditor/editoruserbuildsettings/windowsdeviceportalpassword.md).
