# DevicePortal

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

## Definition

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

```csharp
DevicePortal = 2
```

### Remarks

To use this option, DevicePortal must be enabled on the target device and the [connection address](/engine/6000.0/script-reference/unityeditor/editoruserbuildsettings/windowsdeviceportaladdress.md) must be provided. Additionally, if DevicePortal authentication is enabled, the WDP [username](/engine/6000.0/script-reference/unityeditor/editoruserbuildsettings/windowsdeviceportalusername.md) and [password](/engine/6000.0/script-reference/unityeditor/editoruserbuildsettings/windowsdeviceportalpassword.md) must also be provided.
